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
ClusterInitializationError
This error is returned whenever Cluster
initialization fails.
ConfigError(ConfigError)
This error is returned whenever there is error while reading configuration.
TimeoutSendError(SendError<(TimeoutType, Option<Duration>)>)
This error is returned whenever there is an error while refresing timeouts using mio channels.
BroadcastSendError(SendError<(NodeId, PeerRequest)>)
This error is returned whenever there is an error while sending requests to peers using mio channels.
Other(&'static str)
Other error
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
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 Display for Error
impl Display for Error
impl Error for Error
impl Error for Error
fn description(&self) -> &str
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<ConfigError> for Error
impl From<ConfigError> for Error
fn from(err: ConfigError) -> Error
fn from(err: ConfigError) -> Error
Performs the conversion.
impl From<SendError<(TimeoutType, Option<Duration>)>> for Error
impl From<SendError<(TimeoutType, Option<Duration>)>> for Error
impl From<SendError<(NodeId, PeerRequest)>> for Error
impl From<SendError<(NodeId, PeerRequest)>> for Error
impl From<&'static str> for Error
impl From<&'static str> for Error