pub struct CDRSError {
pub error_code: CInt,
pub message: CString,
pub additional_info: AdditionalErrorInfo,
}Expand description
CDRS error which could be returned by Cassandra server as a response. As it goes
from the specification it contains an error code and an error message. Apart of those
depending of type of error it could contain an additional information about an error.
This additional information is represented by additional_info property which is ErrorKind.
Fields§
§error_code: CInti32 that points to a type of error.
message: CStringError message string.
additional_info: AdditionalErrorInfoAdditional information.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CDRSError
impl RefUnwindSafe for CDRSError
impl Send for CDRSError
impl Sync for CDRSError
impl Unpin for CDRSError
impl UnwindSafe for CDRSError
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