Enum cassandra_cpp::ErrorKind [−][src]
pub enum ErrorKind { StringContainsNul(NulError), InvalidUtf8(Utf8Error), Msg(String), CassError(CassErrorCode, String), CassErrorResult(CassErrorCode, String, Consistency, i32, i32, i32, bool, WriteType, Option<String>, Option<String>, Option<(String, Vec<String>)>), UnsupportedType(&'static str, ValueType), // some variants omitted }
Expand description
The kind of an error.
Variants
StringContainsNul(NulError)
Expand description
Attempted to pass a string containing \0
to Cassandra
InvalidUtf8(Utf8Error)
Expand description
Attempted to decode an invalid UTF-8-encoded string
Msg(String)
Expand description
A convenient variant for String.
CassError(CassErrorCode, String)
Expand description
Cassandra error.
CassErrorResult(CassErrorCode, String, Consistency, i32, i32, i32, bool, WriteType, Option<String>, Option<String>, Option<(String, Vec<String>)>)
Expand description
Cassandra error result with extended information.
Expand description
Unsupported type encountered.
Implementations
impl ErrorKind
[src]
impl ErrorKind
[src]pub fn description(&self) -> &str
[src]
pub fn description(&self) -> &str
[src]A string describing the error kind.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,