pub enum InsertCommandRunError {
DecodeKeyBytesFailed {
source: ByteEncodingDecodeError,
key: String,
key_encoding: ByteEncoding,
},
DecodeValueBytesFailed {
source: ByteEncodingDecodeError,
value: String,
value_encoding: ByteEncoding,
},
KeyspaceFailed {
source: Error,
keyspace: String,
},
InsertFailed {
source: Error,
keyspace: String,
},
}Variants§
Trait Implementations§
Source§impl Debug for InsertCommandRunError
impl Debug for InsertCommandRunError
Source§impl Display for InsertCommandRunError
impl Display for InsertCommandRunError
Source§impl Error for InsertCommandRunError
impl Error for InsertCommandRunError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for InsertCommandRunError
impl !RefUnwindSafe for InsertCommandRunError
impl Send for InsertCommandRunError
impl Sync for InsertCommandRunError
impl Unpin for InsertCommandRunError
impl !UnwindSafe for InsertCommandRunError
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