Enum async_memcached::ErrorKind
source · pub enum ErrorKind {
Generic(String),
NonexistentCommand,
Protocol(Option<String>),
Client(String),
Server(String),
}
Expand description
Errors related to a memcached operation.
Variants§
Generic(String)
General error that may or may not have come from either the server or this crate.
NonexistentCommand
The command sent by the client does not exist.
Protocol(Option<String>)
Protocol-level error i.e. an invalid response from memcached for the given operation.
Client(String)
An error from memcached related to CLIENT_ERROR.
Server(String)
An error from memcached related to SERVER_ERROR.
Trait Implementations§
source§impl PartialEq<ErrorKind> for ErrorKind
impl PartialEq<ErrorKind> for ErrorKind
impl StructuralPartialEq for ErrorKind
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§
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