[][src]Enum tokio_telnet::terminal::TerminalEvent

pub enum TerminalEvent {
    Connected,
    AsciiData(String),
    BinaryData(Vec<u8>),
    Disconnected,
}

Event emitted from Telnet Network Virtual Terminal

Variants

Connected

Terminal Connected

AsciiData(String)

Terminal Received Line of Ascii

BinaryData(Vec<u8>)

Terminal Received Binary Data

Disconnected

Terminal Disconnected

Trait Implementations

impl Clone for TerminalEvent[src]

impl Debug for TerminalEvent[src]

Auto Trait Implementations

impl Send for TerminalEvent

impl Sync for TerminalEvent

impl Unpin for TerminalEvent

impl UnwindSafe for TerminalEvent

impl RefUnwindSafe for TerminalEvent

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]