Enum influxdb::error::InfluxDbError
source · [−]pub enum InfluxDbError {
InvalidQueryError {
error: String,
},
ProtocolError {
error: String,
},
DeserializationError {
error: String,
},
DatabaseError {
error: String,
},
}
Variants
InvalidQueryError
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
Trait Implementations
sourceimpl Debug for InfluxDbError
impl Debug for InfluxDbError
sourceimpl Display for InfluxDbError
impl Display for InfluxDbError
sourceimpl Fail for InfluxDbError
impl Fail for InfluxDbError
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the Backtrace
carried by this failure, if it
carries one. Read more
Auto Trait Implementations
impl RefUnwindSafe for InfluxDbError
impl Send for InfluxDbError
impl Sync for InfluxDbError
impl Unpin for InfluxDbError
impl UnwindSafe for InfluxDbError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more