Enum prometheus_http_query::Scheme [−][src]
pub enum Scheme {
Http,
Https,
}
Expand description
A helper enum that is passed to the Client::new function in order to avoid errors on unsupported connection schemes.
Variants
Http
Https
Auto Trait Implementations
impl RefUnwindSafe for Scheme
impl UnwindSafe for Scheme
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