pub struct QueryInfo<'a> {
pub error: &'a QueryError,
pub is_idempotent: bool,
pub consistency: LegacyConsistency,
}
Expand description
Information about a failed query
Fields
error: &'a QueryError
The error with which the query failed
is_idempotent: bool
A query is idempotent if it can be applied multiple times without changing the result of the initial application
If set to true
we can be sure that it is idempotent
If set to false
it is unknown whether it is idempotent
consistency: LegacyConsistency
Consistency with which the query failed
Auto Trait Implementations
impl<'a> !RefUnwindSafe for QueryInfo<'a>
impl<'a> !UnwindSafe for QueryInfo<'a>
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