Struct cassandra_protocol::frame::frame_error::ReadFailureError [−][src]
pub struct ReadFailureError {
pub cl: Consistency,
pub received: CInt,
pub block_for: CInt,
pub num_failures: CInt,
// some fields omitted
}
Expand description
A non-timeout exception during a read request.
Fields
cl: Consistency
Consistency level of query.
received: CInt
i32
representing the number of nodes having acknowledged the request.
block_for: CInt
i32
representing the number of replicas whose acknowledgement is required to achieve cl
.
num_failures: CInt
Represents the number of nodes that experience a failure while executing the request.
Implementations
Shows if replica has responded to a query.
Trait Implementations
It should return an implementor from an io::Cursor
over an array of bytes.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ReadFailureError
impl Send for ReadFailureError
impl Sync for ReadFailureError
impl Unpin for ReadFailureError
impl UnwindSafe for ReadFailureError
Blanket Implementations
Mutably borrows from an owned value. Read more