Enum prometheus::Error
[−]
pub enum Error { AlreadyReg, InconsistentCardinality(usize, usize), Msg(String), DecreaseCounter(f64), Io(IoError), Protobuf(ProtobufError), }
The error types for prometheus.
Variants
AlreadyReg
InconsistentCardinality(usize, usize)
Msg(String)
DecreaseCounter(f64)
Io(IoError)
Protobuf(ProtobufError)
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
impl Error for Error
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 From<IoError> for Error
impl From<ProtobufError> for Error
fn from(err: ProtobufError) -> Error
Performs the conversion.