Enum cassandra_protocol::frame::frame_error::AdditionalErrorInfo [−][src]
pub enum AdditionalErrorInfo {
Show 18 variants
Server,
Protocol,
Authentication,
Unavailable(UnavailableError),
Overloaded,
IsBootstrapping,
Truncate,
WriteTimeout(WriteTimeoutError),
ReadTimeout(ReadTimeoutError),
ReadFailure(ReadFailureError),
FunctionFailure(FunctionFailureError),
WriteFailure(WriteFailureError),
Syntax,
Unauthorized,
Invalid,
Config,
AlreadyExists(AlreadyExistsError),
Unprepared(UnpreparedError),
}
Expand description
Additional error info in accordance to [Cassandra protocol v4] (https://github.com/apache/cassandra/blob/trunk/doc/native_protocol_v4.spec).
Variants
Server
Protocol
Authentication
Unavailable(UnavailableError)
Overloaded
IsBootstrapping
Truncate
WriteTimeout(WriteTimeoutError)
Tuple Fields
ReadTimeout(ReadTimeoutError)
Tuple Fields
ReadFailure(ReadFailureError)
Tuple Fields
FunctionFailure(FunctionFailureError)
Tuple Fields
WriteFailure(WriteFailureError)
Tuple Fields
Syntax
Unauthorized
Invalid
Config
AlreadyExists(AlreadyExistsError)
Tuple Fields
Unprepared(UnpreparedError)
Tuple Fields
Implementations
pub fn from_cursor_with_code(
cursor: &mut Cursor<&[u8]>,
error_code: CInt
) -> Result<AdditionalErrorInfo>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for AdditionalErrorInfo
impl Send for AdditionalErrorInfo
impl Sync for AdditionalErrorInfo
impl Unpin for AdditionalErrorInfo
impl UnwindSafe for AdditionalErrorInfo
Blanket Implementations
Mutably borrows from an owned value. Read more