Enum in_situ::Take [−][src]
pub enum Take { Header, Packet, }
Type of from
methods' argument specifying to take the bytes of either the
header only or the whole packet.
Variants
Header
Take bytes of header only.
Packet
Take bytes of whole packet.
Trait Implementations
impl Debug for Take
[src]
impl Debug for Take
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Take
[src]
impl Clone for Take
fn clone(&self) -> Take
[src]
fn clone(&self) -> Take
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Take
[src]
impl Copy for Take
impl PartialEq for Take
[src]
impl PartialEq for Take
fn eq(&self, other: &Take) -> bool
[src]
fn eq(&self, other: &Take) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Take
[src]
impl Eq for Take