Enum dominion::header::TrunCation
source · pub enum TrunCation {
NotTruncated,
Truncated,
}
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 copy 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<u16> for TrunCation
impl From<u16> for TrunCation
source§fn from(n: u16) -> TrunCation
fn from(n: u16) -> TrunCation
Converts to this type from the input type.
source§impl PartialEq<TrunCation> for TrunCation
impl PartialEq<TrunCation> for TrunCation
source§fn eq(&self, other: &TrunCation) -> bool
fn eq(&self, other: &TrunCation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.