Enum prometheus_http_query::Error [−][src]
pub enum Error {
IllegalMetricName,
InvalidTimeDuration,
IllegalTimeSeriesSelector,
InvalidRangeVector,
Reqwest(Error),
ResponseError(ResponseError),
UnsupportedQueryResultType(UnsupportedQueryResultType),
UnknownResponseStatus(UnknownResponseStatus),
InvalidFunctionArgument(InvalidFunctionArgument),
UrlParse(ParseError),
ResponseParse(Error),
MissingField,
}
Expand description
A global error enum that encapsulates other more specific types of errors.
Variants
IllegalMetricName
InvalidTimeDuration
IllegalTimeSeriesSelector
InvalidRangeVector
Reqwest(Error)
Tuple Fields
0: Error
ResponseError(ResponseError)
UnsupportedQueryResultType(UnsupportedQueryResultType)
UnknownResponseStatus(UnknownResponseStatus)
InvalidFunctionArgument(InvalidFunctionArgument)
UrlParse(ParseError)
Tuple Fields
0: ParseError
ResponseParse(Error)
Tuple Fields
0: Error
MissingField
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more