#[repr(u16)]pub enum InnerType {
Data = 1,
Control = 2,
Fragment = 3,
Ack = 4,
}Expand description
Inner payload types
Variants§
Implementations§
Trait Implementations§
impl Copy for InnerType
Source§impl<'de> Deserialize<'de> for InnerType
impl<'de> Deserialize<'de> for InnerType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for InnerType
impl StructuralPartialEq for InnerType
Auto Trait Implementations§
impl Freeze for InnerType
impl RefUnwindSafe for InnerType
impl Send for InnerType
impl Sync for InnerType
impl Unpin for InnerType
impl UnsafeUnpin for InnerType
impl UnwindSafe for InnerType
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