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
NotConnected
We are not connected to the network.
InvalidState
We are not in a state to handle the action.
ChannelRxError(RecvError)
Error while trying to receive a message from a channel
EventSenderError(EventSenderError<MaidSafeEventCategory, Action>)
Error while trying to transmit an event via a channel
Trait Implementations
impl Debug for InterfaceError
[src]
impl Debug for InterfaceError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<EventSenderError<MaidSafeEventCategory, Action>> for InterfaceError
[src]
impl From<EventSenderError<MaidSafeEventCategory, Action>> for InterfaceError
fn from(
error: EventSenderError<MaidSafeEventCategory, Action>
) -> InterfaceError
[src]
fn from(
error: EventSenderError<MaidSafeEventCategory, Action>
) -> InterfaceError
Performs the conversion.
impl From<RecvError> for InterfaceError
[src]
impl From<RecvError> for InterfaceError
fn from(error: RecvError) -> InterfaceError
[src]
fn from(error: RecvError) -> InterfaceError
Performs the conversion.
impl From<InterfaceError> for RoutingError
[src]
impl From<InterfaceError> for RoutingError
fn from(error: InterfaceError) -> RoutingError
[src]
fn from(error: InterfaceError) -> RoutingError
Performs the conversion.
Auto Trait Implementations
impl Send for InterfaceError
impl Send for InterfaceError
impl !Sync for InterfaceError
impl !Sync for InterfaceError