[][src]Struct async_peek::Peek

pub struct Peek<'peek, P: ?Sized> { /* fields omitted */ }

Future for the peek() function.

Trait Implementations

impl<P: AsyncPeek + Unpin, '_> Future for Peek<'_, P>[src]

type Output = Result<usize, Error>

The type of value produced on completion.

Auto Trait Implementations

impl<'peek, P: ?Sized> RefUnwindSafe for Peek<'peek, P> where
    P: RefUnwindSafe

impl<'peek, P: ?Sized> Send for Peek<'peek, P> where
    P: Send

impl<'peek, P: ?Sized> Sync for Peek<'peek, P> where
    P: Sync

impl<'peek, P: ?Sized> Unpin for Peek<'peek, P>

impl<'peek, P> !UnwindSafe for Peek<'peek, P>

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, 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.