Struct async_transmit::With[][src]

pub struct With<T, F, I, U, E> { /* fields omitted */ }

Implementations

impl<T, F, I, U, E> With<T, F, I, U, E> where
    T: Transmit<Item = I, Error = E> + Send,
    I: Send,
    E: Send
[src]

pub fn into_inner(self) -> T[src]

Consumes this combinator, returning the underlying transmit.

pub fn get_ref(&self) -> &T[src]

Acquires a reference to the underlying transmit that this combinator is pulling from.

pub fn get_mut(&mut self) -> &mut T[src]

Acquires a mutable reference to the underlying transmit that this combinator is pulling from.

Trait Implementations

impl<T, F, I, U, E> Transmit for With<T, F, I, U, E> where
    T: Transmit<Item = I, Error = E> + Send,
    F: FnMut(U) -> I + Send,
    I: Send,
    U: Send,
    E: Send
[src]

type Item = U

type Error = E

Auto Trait Implementations

impl<T, F, I, U, E> RefUnwindSafe for With<T, F, I, U, E> where
    E: RefUnwindSafe,
    F: RefUnwindSafe,
    I: RefUnwindSafe,
    T: RefUnwindSafe,
    U: RefUnwindSafe

impl<T, F, I, U, E> Send for With<T, F, I, U, E> where
    E: Send,
    F: Send,
    I: Send,
    T: Send,
    U: Send

impl<T, F, I, U, E> Sync for With<T, F, I, U, E> where
    E: Sync,
    F: Sync,
    I: Sync,
    T: Sync,
    U: Sync

impl<T, F, I, U, E> Unpin for With<T, F, I, U, E> where
    E: Unpin,
    F: Unpin,
    I: Unpin,
    T: Unpin,
    U: Unpin

impl<T, F, I, U, E> UnwindSafe for With<T, F, I, U, E> where
    E: UnwindSafe,
    F: UnwindSafe,
    I: UnwindSafe,
    T: UnwindSafe,
    U: 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> 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.