pub struct ReadTimeoutError {
pub cl: Consistency,
pub received: CInt,
pub blockfor: CInt,
/* private fields */
}Expand description
Timeout exception during a read 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.
Implementations§
Source§impl ReadTimeoutError
impl ReadTimeoutError
Sourcepub fn replica_has_responded(&self) -> bool
pub fn replica_has_responded(&self) -> bool
Shows if replica has resonded to a query.
Trait Implementations§
Source§impl Debug for ReadTimeoutError
impl Debug for ReadTimeoutError
Source§impl FromCursor for ReadTimeoutError
impl FromCursor for ReadTimeoutError
Source§fn from_cursor(cursor: &mut Cursor<&[u8]>) -> Result<ReadTimeoutError>
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> Result<ReadTimeoutError>
It should return an implementor from an
io::Cursor over an array of bytes.Auto Trait Implementations§
impl Freeze for ReadTimeoutError
impl RefUnwindSafe for ReadTimeoutError
impl Send for ReadTimeoutError
impl Sync for ReadTimeoutError
impl Unpin for ReadTimeoutError
impl UnwindSafe for ReadTimeoutError
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