Enum bosun_emitter::EmitterError [] [src]

pub enum EmitterError {
    JsonParseError(EncoderError),
    EmitError(Error),
    ReceiveError(String),
}

Errors which may occur while sending either meta data or metric data.

Variants

JsonParseError(EncoderError)

Failed to create JSON.

EmitError(Error)

Failed to send JSON.

ReceiveError(String)

Failed to create Datum on server.

Trait Implementations

impl Debug for EmitterError
[src]

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

Formats the value using the given formatter.

impl From<Error> for EmitterError
[src]

fn from(err: Error) -> EmitterError

Performs the conversion.

impl From<EncoderError> for EmitterError
[src]

fn from(err: EncoderError) -> EmitterError

Performs the conversion.