pub struct WriteTimeoutError {
pub cl: Consistency,
pub received: CInt,
pub blockfor: CInt,
pub write_type: WriteType,
}Expand description
Timeout exception during a write request.
Fields§
§cl: ConsistencyConsistency level of query.
received: CInti32 representing the number of nodes having acknowledged the request.
blockfor: CInti32 representing the number of replicas whose acknowledgement is required to achieve cl.
write_type: WriteTypeDescribes the type of the write that timed out
Trait Implementations§
Source§impl Debug for WriteTimeoutError
impl Debug for WriteTimeoutError
Source§impl FromCursor for WriteTimeoutError
impl FromCursor for WriteTimeoutError
Source§fn from_cursor(cursor: &mut Cursor<&[u8]>) -> Result<WriteTimeoutError>
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> Result<WriteTimeoutError>
It should return an implementor from an
io::Cursor over an array of bytes.Auto Trait Implementations§
impl Freeze for WriteTimeoutError
impl RefUnwindSafe for WriteTimeoutError
impl Send for WriteTimeoutError
impl Sync for WriteTimeoutError
impl Unpin for WriteTimeoutError
impl UnwindSafe for WriteTimeoutError
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