[][src]Enum in_situ::Take

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 Clone for Take[src]

impl Copy for Take[src]

impl Debug for Take[src]

impl Eq for Take[src]

impl PartialEq<Take> for Take[src]

impl StructuralEq for Take[src]

impl StructuralPartialEq for Take[src]

Auto Trait Implementations

impl RefUnwindSafe for Take

impl Send for Take

impl Sync for Take

impl Unpin for Take

impl UnwindSafe for Take

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.