[][src]Struct dialectic::Unavailable

pub struct Unavailable<T>(_);

A placeholder for a missing Transmit or Receive end of a connection.

When using split, the resultant two channels can only send or only receive, respectively. This is reflected at the type level by the presence of Unavailable on the type of the connection which is not present for each part of the split, and Available on the type of the connection which is.

Trait Implementations

impl<T: Debug> Debug for Unavailable<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Unavailable<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for Unavailable<T> where
    T: Send
[src]

impl<T> Sync for Unavailable<T> where
    T: Sync
[src]

impl<T> Unpin for Unavailable<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for Unavailable<T> where
    T: 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<'a, T> CallBy<'a, Mut> for T where
    T: 'a, 
[src]

type Type = &'a mut T

The type of Self when called by Convention.

impl<'a, T> CallBy<'a, Ref> for T where
    T: 'a, 
[src]

type Type = &'a T

The type of Self when called by Convention.

impl<'a, T> CallBy<'a, Val> for T[src]

type Type = T

The type of Self when called by Convention.

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.