Enum libtelnet_rs::EventType[][src]

pub enum EventType {
    None(Bytes),
    IAC(Bytes),
    SubNegotiation(BytesOption<Bytes>),
    Neg(Bytes),
}

Variants

None(Bytes)

Tuple Fields of None

0: Bytes
IAC(Bytes)

Tuple Fields of IAC

0: Bytes
SubNegotiation(BytesOption<Bytes>)

Tuple Fields of SubNegotiation

0: Bytes1: Option<Bytes>
Neg(Bytes)

Tuple Fields of Neg

0: Bytes

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.