Enum dominion_parser::header::TrunCation
source · [−]pub enum TrunCation {
NotTruncated,
Truncated,
}Expand description
Flag to indicate if the packet has been truncated.
Variants
NotTruncated
The packet has not been truncated
Truncated
The packet has been truncated
Trait Implementations
sourceimpl Clone for TrunCation
impl Clone for TrunCation
sourcefn clone(&self) -> TrunCation
fn clone(&self) -> TrunCation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TrunCation
impl Debug for TrunCation
sourceimpl From<TrunCation> for u16
impl From<TrunCation> for u16
sourcefn from(flag: TrunCation) -> Self
fn from(flag: TrunCation) -> Self
Converts to this type from the input type.
sourceimpl From<u16> for TrunCation
impl From<u16> for TrunCation
sourceimpl PartialEq<TrunCation> for TrunCation
impl PartialEq<TrunCation> for TrunCation
impl Copy for TrunCation
impl Eq for TrunCation
impl StructuralEq for TrunCation
impl StructuralPartialEq for TrunCation
Auto Trait Implementations
impl RefUnwindSafe for TrunCation
impl Send for TrunCation
impl Sync for TrunCation
impl Unpin for TrunCation
impl UnwindSafe for TrunCation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more