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: ConsistencyConsistency level of query.
required: CIntNumber of nodes that should be available to respect cl.
alive: CIntNumber of replicas that we were know to be alive.
Trait Implementations§
Source§fn from_cursor(cursor: &mut Cursor<&[u8]>) -> Result<UnavailableError>
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§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more