Struct nats::NatsError
[−]
[src]
pub struct NatsError { /* fields omitted */ }
Trait Implementations
impl Debug for NatsError
[src]
impl Error for NatsError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for NatsError
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<Utf8Error> for NatsError
[src]
impl From<(ErrorKind, &'static str)> for NatsError
[src]
impl From<(ErrorKind, &'static str, String)> for NatsError
[src]
fn from(
(kind, description, detail): (ErrorKind, &'static str, String)
) -> NatsError
(kind, description, detail): (ErrorKind, &'static str, String)
) -> NatsError
Performs the conversion.
impl From<Error> for NatsError
[src]
impl From<ParseError> for NatsError
[src]
fn from(e: ParseError) -> NatsError
Performs the conversion.