pub struct CommandSendError { /* private fields */ }Expand description
The execution of every write operation is returned a crate::cache::command::command_executor::CommandSendResult.
CommandSendResult wraps CommandSendError that is encountered when there is an error in sending a command to crate::cache::command::command_executor::CommandExecutor.
CommandSendError is also returned to the clients if an attempt is made to perform any operation say put, delete, while the cache is being shutdown.
Trait Implementations§
Source§impl Debug for CommandSendError
Debug implementation for CommandSendError. Currently, both Display and Debug return the same message.
impl Debug for CommandSendError
Debug implementation for CommandSendError. Currently, both Display and Debug return the same message.
Source§impl Display for CommandSendError
Display implementation for CommandSendError. Currently, both Display and Debug return the same message.
impl Display for CommandSendError
Display implementation for CommandSendError. Currently, both Display and Debug return the same message.
Source§impl Error for CommandSendError
Error implementation for CommandSendError.
impl Error for CommandSendError
Error implementation for CommandSendError.
1.30.0 · 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 CommandSendError
impl RefUnwindSafe for CommandSendError
impl Send for CommandSendError
impl Sync for CommandSendError
impl Unpin for CommandSendError
impl UnwindSafe for CommandSendError
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