pub struct TelnetNegotiation {
pub command: u8,
pub option: u8,
}Expand description
A struct representing a 3 byte IAC sequence.
Fields§
§command: u8§option: u8Implementations§
Trait Implementations§
Source§impl Clone for TelnetNegotiation
impl Clone for TelnetNegotiation
Source§fn clone(&self) -> TelnetNegotiation
fn clone(&self) -> TelnetNegotiation
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 TelnetNegotiation
impl Into<Bytes> for TelnetNegotiation
impl Copy for TelnetNegotiation
Auto Trait Implementations§
impl Freeze for TelnetNegotiation
impl RefUnwindSafe for TelnetNegotiation
impl Send for TelnetNegotiation
impl Sync for TelnetNegotiation
impl Unpin for TelnetNegotiation
impl UnwindSafe for TelnetNegotiation
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