pub struct UnavailableError {
    pub cl: Consistency,
    pub required: CInt,
    pub alive: CInt,
}
Expand description

Additional info about [unavailable exception] (https://github.com/apache/cassandra/blob/trunk/doc/native_protocol_v4.spec#L1025)

Fields§

§cl: Consistency

Consistency level of query.

§required: CInt

Number of nodes that should be available to respect cl.

§alive: CInt

Number of replicas that we were know to be alive.

Trait Implementations§

Formats the value using the given formatter. Read more
It should return an implementor from an io::Cursor over an array of bytes.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.