[][src]Struct imap::types::ZeroCopy

pub struct ZeroCopy<D> { /* fields omitted */ }

This type wraps an input stream and a type that was constructed by parsing that input stream, which allows the parsed type to refer to data in the underlying stream instead of copying it.

Any references given out by a ZeroCopy should never be used after the ZeroCopy is dropped.

Trait Implementations

impl<D: PartialEq> PartialEq<ZeroCopy<D>> for ZeroCopy<D>
[src]

This method tests for !=.

impl<'a, D> IntoIterator for &'a ZeroCopy<D> where
    &'a D: IntoIterator
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

impl<D: Eq> Eq for ZeroCopy<D>
[src]

impl<D: Ord> Ord for ZeroCopy<D>
[src]

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl<D: PartialOrd> PartialOrd<ZeroCopy<D>> for ZeroCopy<D>
[src]

impl<D: Display> Display for ZeroCopy<D>
[src]

impl<D: Debug> Debug for ZeroCopy<D>
[src]

impl<D> Deref for ZeroCopy<D>
[src]

The resulting type after dereferencing.

impl<D: Hash> Hash for ZeroCopy<D>
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl<D> Send for ZeroCopy<D> where
    D: Send

impl<D> Sync for ZeroCopy<D> where
    D: Sync

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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