Enum connect::Error[]

pub enum Error {
    ClusterInitializationError,
    ConfigError(ConfigError),
    TimeoutSendError(SendError<(TimeoutType, Option<Duration>)>),
    BroadcastSendError(SendError<(NodeId, PeerRequest)>),
    Other(&'static str),
}

Defines errors in connect framework.

Variants

This error is returned whenever Cluster initialization fails.

This error is returned whenever there is error while reading configuration.

This error is returned whenever there is an error while refresing timeouts using mio channels.

This error is returned whenever there is an error while sending requests to peers using mio channels.

Other error

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Display for Error

Formats the value using the given formatter. Read more

impl Error for Error

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl From<ConfigError> for Error

Performs the conversion.

impl From<SendError<(TimeoutType, Option<Duration>)>> for Error

Performs the conversion.

impl From<SendError<(NodeId, PeerRequest)>> for Error

Performs the conversion.

impl From<&'static str> for Error

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error