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

Take bytes of header only.

Take bytes of whole packet.

Trait Implementations

impl Debug for Take
[src]

Formats the value using the given formatter. Read more

impl Clone for Take
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Take
[src]

impl PartialEq for Take
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Take
[src]

Auto Trait Implementations

impl Send for Take

impl Sync for Take