Enum cassandra_protocol::frame::message_error::FailureInfo
source · [−]pub enum FailureInfo {
NumFailures(CInt),
ReasonMap(HashMap<SocketAddr, CIntShort>),
}
Expand description
Protocol-dependent failure information. V5 contains a map of endpoint->code entries, while previous versions contain only error count.
Variants
NumFailures(CInt)
Represents the number of nodes that experience a failure while executing the request.
ReasonMap(HashMap<SocketAddr, CIntShort>)
Error code map for affected nodes.
Trait Implementations
sourceimpl Clone for FailureInfo
impl Clone for FailureInfo
sourcefn clone(&self) -> FailureInfo
fn clone(&self) -> FailureInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FailureInfo
impl Debug for FailureInfo
sourceimpl FromCursor for FailureInfo
impl FromCursor for FailureInfo
sourceimpl PartialEq<FailureInfo> for FailureInfo
impl PartialEq<FailureInfo> for FailureInfo
sourcefn eq(&self, other: &FailureInfo) -> bool
fn eq(&self, other: &FailureInfo) -> bool
sourceimpl Serialize for FailureInfo
impl Serialize for FailureInfo
impl Eq for FailureInfo
impl StructuralEq for FailureInfo
impl StructuralPartialEq for FailureInfo
Auto Trait Implementations
impl RefUnwindSafe for FailureInfo
impl Send for FailureInfo
impl Sync for FailureInfo
impl Unpin for FailureInfo
impl UnwindSafe for FailureInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more