Struct cdrs::frame::frame_error::UnavailableError [−][src]
pub struct UnavailableError { pub cl: Consistency, pub required: CInt, pub alive: CInt, }
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
impl Debug for UnavailableError
[src]
impl Debug for UnavailableError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl FromCursor for UnavailableError
[src]
impl FromCursor for UnavailableError
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> Result<UnavailableError>
[src]
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> Result<UnavailableError>
It should return an implementor from an io::Cursor
over an array of bytes.
Auto Trait Implementations
impl Send for UnavailableError
impl Send for UnavailableError
impl Sync for UnavailableError
impl Sync for UnavailableError