pub struct TelnetSubnegotiation {
pub option: u8,
pub buffer: Bytes,
}Expand description
A struct representing an arbitrary length IAC subnegotiation sequence.
Fields§
§option: u8§buffer: BytesImplementations§
Trait Implementations§
Source§impl Clone for TelnetSubnegotiation
impl Clone for TelnetSubnegotiation
Source§fn clone(&self) -> TelnetSubnegotiation
fn clone(&self) -> TelnetSubnegotiation
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 Into<Bytes> for TelnetSubnegotiation
impl Into<Bytes> for TelnetSubnegotiation
Auto Trait Implementations§
impl !Freeze for TelnetSubnegotiation
impl RefUnwindSafe for TelnetSubnegotiation
impl Send for TelnetSubnegotiation
impl Sync for TelnetSubnegotiation
impl Unpin for TelnetSubnegotiation
impl UnwindSafe for TelnetSubnegotiation
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