Struct xbdm::Error
[−]
[src]
pub struct Error { /* fields omitted */ }
Methods
impl Error
[src]
fn new<C: Into<String>>(kind: ErrorKind, command: C) -> Error
fn io<C: Into<String>>(err: Error, command: C) -> Error
fn io_custom<E, C>(kind: ErrorKind, error: E, command: C) -> Error where
E: Into<Box<Error + Send + Sync>>,
C: Into<String>,
E: Into<Box<Error + Send + Sync>>,
C: Into<String>,
fn bad_response<D, C>(desc: D, command: C) -> Error where
D: Into<String>,
C: Into<String>,
D: Into<String>,
C: Into<String>,
fn command_failed<M, C>(code: StatusCode, message: M, command: C) -> Error where
M: Into<String>,
C: Into<String>,
M: Into<String>,
C: Into<String>,
fn kind(&self) -> &ErrorKind
fn command(&self) -> &str
fn is_fatal(&self) -> bool
If true, this Error
requires the Client
to reconnect.