[][src]Enum remote_trait_object::transport::TransportError

pub enum TransportError {
    TimeOut,
    Termination,
    Custom,
}

An error that can be returned in send() or recv().

Note that only Timeout and Termination will be handled specially by the remote-trait-object context. All other errors must be wrapped as Custom, and it will be just conveyed to the user.

Variants

TimeOut

An error that indicates that your call to send() or recv() can't be finished within the timeout you set.

Termination

An error that indicates that you have called terminate() of the spawned Terminate from the object you're calling a method of.

Custom

An opaque error that will be just passed to the user.

Trait Implementations

impl Clone for TransportError[src]

impl Debug for TransportError[src]

impl PartialEq<TransportError> for TransportError[src]

impl StructuralPartialEq for TransportError[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.