Enum scylla::transport::errors::BadQuery [−][src]
pub enum BadQuery {
SerializeValuesError(SerializeValuesError),
ValueLenMismatch(usize, usize),
ValuesTooLongForKey(usize, usize),
BadKeyspaceName(BadKeyspaceName),
}
Expand description
Error caused by caller creating an invalid query
Variants
SerializeValuesError(SerializeValuesError)
Failed to serialize values passed to a query - values too big
Tuple Fields of SerializeValuesError
Number of values provided doesn’t match number of statements in a batch
Serialized values are too long to compute parition key
BadKeyspaceName(BadKeyspaceName)
Passed invalid keyspace name to use
Tuple Fields of BadKeyspaceName
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for BadQuery
impl UnwindSafe for BadQuery
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