Struct nats::NatsError [] [src]

pub struct NatsError {
    // some fields omitted
}

Trait Implementations

impl Debug for NatsError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

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.

impl From<Utf8Error> for NatsError
[src]

fn from(_: Utf8Error) -> NatsError

Performs the conversion.

impl From<(ErrorKind, &'static str)> for NatsError
[src]

fn from((kind, description): (ErrorKind, &'static str)) -> NatsError

Performs the conversion.

impl From<(ErrorKind, &'static str, String)> for NatsError
[src]

fn from((kind, description, detail): (ErrorKind, &'static str, String)) -> NatsError

Performs the conversion.

impl From<Error> for NatsError
[src]

fn from(e: Error) -> NatsError

Performs the conversion.

impl From<ParseError> for NatsError
[src]

fn from(e: ParseError) -> NatsError

Performs the conversion.