Enum scylla::transport::errors::QueryError [−][src]
pub enum QueryError {
DbError(DbError, String),
BadQuery(BadQuery),
IoError(Arc<Error>),
ProtocolError(&'static str),
InvalidMessage(String),
TimeoutError,
}
Expand description
Error that occured during query execution
Variants
Database sent a response containing some error with a message
BadQuery(BadQuery)
Caller passed an invalid query
Tuple Fields of BadQuery
0: BadQuery
Input/Output error has occured, connection broken etc.
ProtocolError(&'static str)
Unexpected message received
Tuple Fields of ProtocolError
0: &'static str
InvalidMessage(String)
Invalid message received
Tuple Fields of InvalidMessage
0: String
Timeout error has occured, function didn’t complete in time.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for QueryError
impl Send for QueryError
impl Sync for QueryError
impl Unpin for QueryError
impl !UnwindSafe for QueryError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
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