Struct cassandra_protocol::frame::message_error::ErrorBody
source · [−]pub struct ErrorBody {
pub error_code: CInt,
pub message: String,
pub additional_info: AdditionalErrorInfo,
}
Expand description
CDRS error which could be returned by Cassandra server as a response. As in the specification,
it contains an error code and an error message. Apart of those depending of type of error,
it could contain additional information represented by additional_info
property.
Fields
error_code: CInt
CInt
that points to a type of error.
message: String
Error message string.
additional_info: AdditionalErrorInfo
Additional information.
Trait Implementations
sourceimpl FromCursor for ErrorBody
impl FromCursor for ErrorBody
impl Eq for ErrorBody
impl StructuralEq for ErrorBody
impl StructuralPartialEq for ErrorBody
Auto Trait Implementations
impl RefUnwindSafe for ErrorBody
impl Send for ErrorBody
impl Sync for ErrorBody
impl Unpin for ErrorBody
impl UnwindSafe for ErrorBody
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