Struct cdrs::frame::frame_error::WriteTimeoutError
source · 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: 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
.
write_type: WriteType
Describes 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.