pub enum TelnetEvent {
Negotiate(u8, u8),
SubNegotiate(u8, Bytes),
Data(Bytes),
Command(u8),
}Variants§
Trait Implementations§
Source§impl Clone for TelnetEvent
impl Clone for TelnetEvent
Source§fn clone(&self) -> TelnetEvent
fn clone(&self) -> TelnetEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TelnetEvent
impl Debug for TelnetEvent
Source§impl Encoder<TelnetEvent> for TelnetCodec
impl Encoder<TelnetEvent> for TelnetCodec
Source§impl From<TelnetEvent> for Bytes
impl From<TelnetEvent> for Bytes
Source§fn from(src: TelnetEvent) -> Self
fn from(src: TelnetEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for TelnetEvent
impl RefUnwindSafe for TelnetEvent
impl Send for TelnetEvent
impl Sync for TelnetEvent
impl Unpin for TelnetEvent
impl UnwindSafe for TelnetEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more