pub enum ClientError {
KeyTooLong,
Error(Cow<'static, str>),
}
Expand description
Client-side errors
Variants§
KeyTooLong
The key provided was longer than 250 bytes.
Error(Cow<'static, str>)
The server returned an error prefixed with CLIENT_ERROR in response to a command.
Trait Implementations§
source§impl Debug for ClientError
impl Debug for ClientError
source§impl Display for ClientError
impl Display for ClientError
source§impl From<ClientError> for MemcacheError
impl From<ClientError> for MemcacheError
source§fn from(err: ClientError) -> Self
fn from(err: ClientError) -> Self
Converts to this type from the input type.
source§impl From<String> for ClientError
impl From<String> for ClientError
source§impl PartialEq for ClientError
impl PartialEq for ClientError
impl StructuralPartialEq for ClientError
Auto Trait Implementations§
impl Freeze for ClientError
impl RefUnwindSafe for ClientError
impl Send for ClientError
impl Sync for ClientError
impl Unpin for ClientError
impl UnwindSafe for ClientError
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