Enum influx_db_client::error::Error [−][src]
pub enum Error {
SyntaxError(String),
InvalidCredentials(String),
DataBaseDoesNotExist(String),
RetentionPolicyDoesNotExist(String),
Communication(String),
Unknow(String),
}
Expand description
The error of influxdb client
Variants
SyntaxError(String)
Tuple Fields
0: String
Syntax error, some is bug, some is SQL error. If it’s a bug, welcome to PR.
InvalidCredentials(String)
Tuple Fields
0: String
Invalid credentials
DataBaseDoesNotExist(String)
Tuple Fields
0: String
The specified database does not exist
RetentionPolicyDoesNotExist(String)
Tuple Fields
0: String
The specified retention policy does not exist
Communication(String)
Tuple Fields
0: String
Some error on build url or io.
Unknow(String)
Tuple Fields
0: String
Some other error, I don’t expect
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
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