Enum riemann_client::error::Error [] [src]

pub enum Error {
    Io(Error),
    Protobuf(ProtobufError),
    Riemann(String),
}

Variants

Io(Error)Protobuf(ProtobufError)Riemann(String)

Trait Implementations

impl Debug for Error
[src]

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

Formats the value using the given formatter.

impl From<IoError> for Error
[src]

fn from(err: IoError) -> Self

Performs the conversion.

impl From<ProtobufError> for Error
[src]

fn from(err: ProtobufError) -> Self

Performs the conversion.