pub enum Error {
InvalidQueryError {
error: String,
},
UrlConstructionError {
error: String,
},
ProtocolError {
error: String,
},
DeserializationError {
error: String,
},
DatabaseError {
error: String,
},
AuthenticationError,
AuthorizationError,
ConnectionError {
error: String,
},
}
Variants
InvalidQueryError
Fields
error: String
Error happens when a query is invalid
UrlConstructionError
Fields
error: String
Error happens when a query is invalid
ProtocolError
Fields
error: String
Error happens when a query is invalid
DeserializationError
Fields
error: String
Error happens when Serde cannot deserialize the response
DatabaseError
Fields
error: String
Error which has happened inside InfluxDB
AuthenticationError
Error happens when no or incorrect credentials are used. HTTP 401 Unauthorized
AuthorizationError
Error happens when the supplied user is not authorized. HTTP 403 Forbidden
ConnectionError
Fields
error: String
Error happens when HTTP request fails
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