pub enum TcpOptionKind {
Eol,
Nop,
Mss,
Wscale,
SackParmitted,
Sack,
Timestamp,
}
Expand description
Variants§
Implementations§
Source§impl TcpOptionKind
impl TcpOptionKind
pub fn from_u8(n: u8) -> TcpOptionKind
Trait Implementations§
Source§impl Clone for TcpOptionKind
impl Clone for TcpOptionKind
Source§fn clone(&self) -> TcpOptionKind
fn clone(&self) -> TcpOptionKind
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 TcpOptionKind
impl Debug for TcpOptionKind
Source§impl PartialEq for TcpOptionKind
impl PartialEq for TcpOptionKind
impl Copy for TcpOptionKind
impl StructuralPartialEq for TcpOptionKind
Auto Trait Implementations§
impl Freeze for TcpOptionKind
impl RefUnwindSafe for TcpOptionKind
impl Send for TcpOptionKind
impl Sync for TcpOptionKind
impl Unpin for TcpOptionKind
impl UnwindSafe for TcpOptionKind
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