[][src]Enum tokio_telnet::codec::TelnetFrame

pub enum TelnetFrame {
    Data(u8),
    NoOperation,
    DataMark,
    Break,
    InterruptProcess,
    AbortOutput,
    AreYouThere,
    EraseCharacter,
    EraseLine,
    GoAhead,
    Do(u8),
    Dont(u8),
    Will(u8),
    Wont(u8),
    Subnegotiate(u8Vec<u8>),
}

TelnetFrame is a single immutable Frame of data.

Variants

Data(u8)

Telnet Data

NoOperation

No Operation

DataMark

End of urgent Data Stream

Break

Operator pressed the Break key or the Attention key.

InterruptProcess

Interrupt current process.

AbortOutput

Cancel output from current process.

AreYouThere

Request acknowledgment.

EraseCharacter

Request that operator erase the previous character.

EraseLine

Request that operator erase the previous line.

GoAhead

End of input for half-duplex connections.

Do(u8)

Request to start using specified option.

Dont(u8)

Demand to stop using specified option.

Will(u8)

Agreement to use the specified option.

Wont(u8)

Reject the proposed option.

Subnegotiate(u8Vec<u8>)

Subnegotiation Payload

Trait Implementations

impl Clone for TelnetFrame[src]

impl PartialEq<TelnetFrame> for TelnetFrame[src]

impl Debug for TelnetFrame[src]

impl StructuralPartialEq for TelnetFrame[src]

Auto Trait Implementations

impl Send for TelnetFrame

impl Sync for TelnetFrame

impl Unpin for TelnetFrame

impl UnwindSafe for TelnetFrame

impl RefUnwindSafe for TelnetFrame

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]