Enum routing::InterfaceError [] [src]

pub enum InterfaceError {
    NotConnected,
    InvalidState,
    ChannelRxError(RecvError),
    EventSenderError(EventSenderError<MaidSafeEventCategory, Action>),
}

The type of errors that can occur if routing is unable to handle a send request.

Variants

We are not connected to the network.

We are not in a state to handle the action.

Error while trying to receive a message from a channel

Error while trying to transmit an event via a channel

Trait Implementations

impl Debug for InterfaceError
[src]

[src]

Formats the value using the given formatter.

impl From<EventSenderError<MaidSafeEventCategory, Action>> for InterfaceError
[src]

[src]

Performs the conversion.

impl From<RecvError> for InterfaceError
[src]

[src]

Performs the conversion.