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

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: Debug> Debug for ZeroCopy<D>[src]

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

type Target = D

The resulting type after dereferencing.

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

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

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

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

type Item = <&'a D as IntoIterator>::Item

The type of the elements being iterated over.

type IntoIter = <&'a D as IntoIterator>::IntoIter

Which kind of iterator are we turning this into?

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

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

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

Auto Trait Implementations

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

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

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

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

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

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> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

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

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

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

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

impl<T> TryConv for T

impl<T> TryConv for T

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.