[][src]Enum dialectic::IncompleteHalf

pub enum IncompleteHalf<T> {
    Unfinished(T),
    Unclosed,
}

A representation of what has gone wrong when a connection half Tx or Rx is incomplete.

Variants

Unfinished(T)

The underlying channel was dropped before the session was Done.

Unclosed

The underlying channel was not dropped or closed after the session was Done.

Trait Implementations

impl<T> Debug for IncompleteHalf<T>[src]

impl<T> Display for IncompleteHalf<T>[src]

impl<T> Error for IncompleteHalf<T>[src]

Auto Trait Implementations

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

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

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

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

impl<T> UnwindSafe for IncompleteHalf<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> ToString for T where
    T: Display + ?Sized
[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.