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

i32 that points to a type of error.

Error message string.

Additional information.

Trait Implementations

impl Debug for CDRSError
[src]

Formats the value using the given formatter.

impl FromCursor for CDRSError
[src]

It should return an implementor from an io::Cursor over an array of bytes.