[][src]Enum tokio_telnet::terminal::TelnetOption

#[repr(u8)]
pub enum TelnetOption {
    TransmitBinary,
    Echo,
    Reconnection,
    SuppressGoAhead,
    ApproxMessageSizeNegotiation,
    Status,
    TimingMark,
    RCTE,
    OutLineWidth,
    OutPageSize,
    NAOCRD,
    NAOHTS,
    NAOHTD,
    NAOFFD,
    NAOVTS,
    NAOVTD,
    NAOLFD,
    XASCII,
    Logout,
    ByteMacro,
    DET,
    SUPDUP,
    SUPDUPOutput,
    SNDLOC,
    TTYPE,
    EOR,
    TUID,
    OUTMRK,
    TTYLOC,
    OPT3270Regime,
    X3PAD,
    NAWS,
    TSPEED,
    LFLOW,
    Linemode,
    XDISPLOC,
    Environment,
    Authentication,
    Encryption,
    NewEnvironment,
    TN3270E,
    XAUTH,
    Charset,
    TRSP,
    CPCO,
    TSLE,
    StartTLS,
    Kermit,
    SendUrl,
    ForwardX,
    MSDP,
    MSSP,
    Compress1,
    Compress2,
    ZMP,
    PragmaLogon,
    SSPILogon,
    PragmaHeartbeat,
    EXOPL,
    Unknown(u8),
}

Telnet Options

Variants

TransmitBinary

Telnet Binary Transmission RFC856 Note: Enable 8 bit data path

Echo

Telnet Echo Option RFC857

Reconnection

Telnet Reconnection Option DDN Protocol Handbook, "Telnet Reconnection Option", NIC 50005, December 1985. Note: Prepare to reconnect

SuppressGoAhead

Supress Go ahead RFC858

ApproxMessageSizeNegotiation

Approximate Message Size Negotiation

Status

Telnet Status Option RFC859

TimingMark

Telnet Timing Mark Option RFC860

RCTE

Remote Controlled Trans and Echo RFC726

OutLineWidth

Output Line Width DDN Protocol Handbook, "Telnet Output Line Width Option", NIC 50005, December 1985.

OutPageSize

Output Page Size DDN Protocol Handbook, "Telnet Output Page Size Option", NIC 50005, December 1985.

NAOCRD

Output Carriage-Return Disposition RFC652

NAOHTS

Output Horizontal Tab Stops RFC653

NAOHTD

Output Horizontal Tab Disposition RFC654

NAOFFD

Output Formfeed Disposition RFC655

NAOVTS

Output Vertical Tabstops RFC656

NAOVTD

Output Vertical Tab Disposition RFC657

NAOLFD

Output Linefeed Disposition RFC658

XASCII

Extended ASCII RFC698

Logout

Logout Option RFC727

ByteMacro

Byte Macro RFC735

DET

Data Entry Terminal RFC1043 RFC732

SUPDUP

SUPDUP RFC736 RFC734

SUPDUPOutput

SUPDUP Output RFC749

SNDLOC

Send Location RFC779

TTYPE

Terminal Type RFC1091

EOR

End of Record RFC885

TUID

TACACS User Identification RFC927

OUTMRK

Output Marking RFC933

TTYLOC

Terminal Location Number RFC946

OPT3270Regime

Telnet 3270 Regime RFC1041

X3PAD

X.3 PAD RFC1053

NAWS

Negotiate About Window Size RFC1073

TSPEED

Terminal Speed RFC1079

LFLOW

Remote Flow Control RFC1372

Linemode

Linemode RFC1184

XDISPLOC

X Display Location RFC1096

Environment

Environment Option RFC1408

Authentication

Authentication Option RFC2941

Encryption

Encryption Option RFC2946

NewEnvironment

New Environment Option RFC1572

TN3270E

TN3270E RFC2355

XAUTH

XAUTH Rob_Earhart

Charset

Charset RFC2066

TRSP

Telnet Remote Serial Port (RSP) Robert_Barnes

CPCO

Com Port Control Option RFC2217

TSLE

Telnet Suppress Local Echo Wirt_Atmar

StartTLS

Telnet Start TLS Michael_Boe

Kermit

Kermit RFC2840

SendUrl

SEND-URL David_Croft

ForwardX

FORWARD_X Jeffrey_Altman

MSDP

Mud Server Data Protocol MSDP

MSSP

Mud Server Status Protocol MSSP

Compress1

Mud Client Compression Protocol version 1 MCCPv1

Compress2

Mud Client Compression Protocol version 2 MCCPv2

ZMP

Zenith Mud Protocol ZMP

PragmaLogon

Telnet Option Pragma Logon Steve_McGregory

SSPILogon

Telnet Option SSPI Logon Steve_McGregory

PragmaHeartbeat

Telnet Option Pragma Heartbeat Steve_McGregory

EXOPL

Extended-Options-List RFC861

Unknown(u8)

Unknown

Methods

impl TelnetOption[src]

pub fn support_local(&self) -> bool[src]

Does this Library Support this option.

pub fn support_remote(&self) -> bool[src]

Does this Library Support this option.

Trait Implementations

impl From<u8> for TelnetOption[src]

impl From<TelnetOption> for u8[src]

impl Clone for TelnetOption[src]

impl Copy for TelnetOption[src]

impl Eq for TelnetOption[src]

impl PartialEq<TelnetOption> for TelnetOption[src]

impl Debug for TelnetOption[src]

impl Hash for TelnetOption[src]

impl StructuralPartialEq for TelnetOption[src]

impl StructuralEq for TelnetOption[src]

Auto Trait Implementations

impl Send for TelnetOption

impl Sync for TelnetOption

impl Unpin for TelnetOption

impl UnwindSafe for TelnetOption

impl RefUnwindSafe for TelnetOption

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]