Struct cdrs::frame::frame_error::CDRSError [−][src]
pub struct CDRSError { pub error_code: CInt, pub message: CString, pub additional_info: AdditionalErrorInfo, }
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: CInt
i32
that points to a type of error.
message: CString
Error message string.
additional_info: AdditionalErrorInfo
Additional information.
Trait Implementations
impl Debug for CDRSError
[src]
impl Debug for CDRSError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl FromCursor for CDRSError
[src]
impl FromCursor for CDRSError
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> Result<CDRSError>
[src]
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> Result<CDRSError>
It should return an implementor from an io::Cursor
over an array of bytes.
impl From<CDRSError> for Error
[src]
impl From<CDRSError> for Error