Struct scylla::transport::retry_policy::QueryInfo[][src]

pub struct QueryInfo<'a> {
    pub error: &'a QueryError,
    pub is_idempotent: bool,
    pub consistency: Consistency,
}
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: Consistency

Consistency with which the query failed

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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