Struct merfolk_frontend_duplex::Duplex[][src]

pub struct Duplex<'a, B, FC, FR> where
    B: Backend + 'a,
    FC: Frontend<Backend = B> + 'a,
    FR: Frontend<Backend = B> + 'a, 
{ pub caller: FC, pub receiver: FR, // some fields omitted }

Fields

caller: FCreceiver: FR

Implementations

impl<'a, B, FC, FR> Duplex<'a, B, FC, FR> where
    B: Backend + 'a,
    FC: Frontend<Backend = B> + 'a,
    FR: Frontend<Backend = B> + 'a, 
[src]

pub fn builder() -> DuplexBuilder<'a, B, FC, FR>[src]

Trait Implementations

impl<'a, B, FC, FR> Frontend for Duplex<'a, B, FC, FR> where
    B: Backend,
    FC: Frontend<Backend = B>,
    FR: Frontend<Backend = B>, 
[src]

type Backend = B

The used Backend.

impl<'a, B, FC, FR> Send for Duplex<'a, B, FC, FR> where
    B: Backend,
    FC: Frontend<Backend = B>,
    FR: Frontend<Backend = B>, 
[src]

Auto Trait Implementations

impl<'a, B, FC, FR> RefUnwindSafe for Duplex<'a, B, FC, FR> where
    B: RefUnwindSafe,
    FC: RefUnwindSafe,
    FR: RefUnwindSafe
[src]

impl<'a, B, FC, FR> Sync for Duplex<'a, B, FC, FR> where
    B: Sync,
    FC: Sync,
    FR: Sync
[src]

impl<'a, B, FC, FR> Unpin for Duplex<'a, B, FC, FR> where
    FC: Unpin,
    FR: Unpin
[src]

impl<'a, B, FC, FR> UnwindSafe for Duplex<'a, B, FC, FR> where
    B: RefUnwindSafe,
    FC: UnwindSafe,
    FR: UnwindSafe
[src]

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.