pub enum GetCommandRunError {
DecodeKeyBytesFailed {
source: ByteEncodingDecodeError,
key: String,
key_encoding: ByteEncoding,
},
KeyspaceNotFound {
keyspace: String,
},
KeyspaceFailed {
source: Error,
keyspace: String,
},
GetFailed {
source: Error,
keyspace: String,
key: String,
},
KeyNotFound {
keyspace: String,
key: String,
},
WriteAllFailed {
source: Error,
},
}Variants§
Trait Implementations§
Source§impl Debug for GetCommandRunError
impl Debug for GetCommandRunError
Source§impl Display for GetCommandRunError
impl Display for GetCommandRunError
Source§impl Error for GetCommandRunError
impl Error for GetCommandRunError
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 GetCommandRunError
impl !RefUnwindSafe for GetCommandRunError
impl Send for GetCommandRunError
impl Sync for GetCommandRunError
impl Unpin for GetCommandRunError
impl UnsafeUnpin for GetCommandRunError
impl !UnwindSafe for GetCommandRunError
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