Enum prometheus_http_query::Error
source · [−]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)
ResponseError(ResponseError)
UnsupportedQueryResultType(UnsupportedQueryResultType)
UnknownResponseStatus(UnknownResponseStatus)
InvalidFunctionArgument(InvalidFunctionArgument)
UrlParse(ParseError)
ResponseParse(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
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