[][src]Struct cassandra_proto::frame::frame_error::ReadFailureError

pub struct ReadFailureError {
    pub cl: Consistency,
    pub received: CInt,
    pub blockfor: CInt,
    pub num_failures: CInt,
    // some fields omitted
}

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.

blockfor: 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.

Methods

impl ReadFailureError[src]

pub fn replica_has_responded(&self) -> bool[src]

Shows if replica has resonded to a query.

Trait Implementations

impl Debug for ReadFailureError[src]

impl FromCursor for ReadFailureError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.