pub enum SerializeError {
Infallible,
InvalidValue(ValueType, Box<dyn Debug>),
Encryption(Error),
}
Variants§
Infallible
InvalidValue(ValueType, Box<dyn Debug>)
Encryption(Error)
Available on crate feature
caching-sha2-password
only.Trait Implementations§
Source§impl Debug for SerializeError
impl Debug for SerializeError
Source§impl From<Infallible> for SerializeError
impl From<Infallible> for SerializeError
Source§fn from(_value: Infallible) -> Self
fn from(_value: Infallible) -> Self
Converts to this type from the input type.
Source§impl From<SerializeError> for Error
impl From<SerializeError> for Error
Source§fn from(value: SerializeError) -> Self
fn from(value: SerializeError) -> Self
Converts to this type from the input type.
Source§impl From<SerializeError> for ProtocolError
impl From<SerializeError> for ProtocolError
Source§fn from(value: SerializeError) -> Self
fn from(value: SerializeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SerializeError
impl !RefUnwindSafe for SerializeError
impl !Send for SerializeError
impl !Sync for SerializeError
impl Unpin for SerializeError
impl !UnwindSafe for SerializeError
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