pub enum TrunCation {
NotTruncated = 0,
Truncated = 1,
}Expand description
Flag to indicate if the packet has been truncated.
Variants§
Trait Implementations§
Source§impl Clone for TrunCation
impl Clone for TrunCation
Source§fn clone(&self) -> TrunCation
fn clone(&self) -> TrunCation
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 TrunCation
impl Debug for TrunCation
Source§impl From<TrunCation> for u16
impl From<TrunCation> for u16
Source§fn from(flag: TrunCation) -> Self
fn from(flag: TrunCation) -> Self
Converts to this type from the input type.
Source§impl From<u16> for TrunCation
impl From<u16> for TrunCation
Source§impl PartialEq for TrunCation
impl PartialEq for TrunCation
impl Copy for TrunCation
impl Eq for TrunCation
impl StructuralPartialEq for TrunCation
Auto Trait Implementations§
impl Freeze for TrunCation
impl RefUnwindSafe for TrunCation
impl Send for TrunCation
impl Sync for TrunCation
impl Unpin for TrunCation
impl UnwindSafe for TrunCation
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