pub enum ShmapError {
ShmFileNotFound,
CStringNulError(NulError),
BincodeDecodeError(DecodeError),
BincodeEncodeError(EncodeError),
IOError(Error),
NamedLockError(Error),
DurationOutOfRangeError,
AesGcmError(Error),
}Variants§
ShmFileNotFound
CStringNulError(NulError)
BincodeDecodeError(DecodeError)
BincodeEncodeError(EncodeError)
IOError(Error)
NamedLockError(Error)
DurationOutOfRangeError
AesGcmError(Error)
Trait Implementations§
Source§impl Debug for ShmapError
impl Debug for ShmapError
Source§impl Display for ShmapError
impl Display for ShmapError
Source§impl Error for ShmapError
impl Error for ShmapError
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()
Source§impl From<DecodeError> for ShmapError
impl From<DecodeError> for ShmapError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<EncodeError> for ShmapError
impl From<EncodeError> for ShmapError
Source§fn from(source: EncodeError) -> Self
fn from(source: EncodeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ShmapError
impl From<Error> for ShmapError
Source§impl From<Error> for ShmapError
impl From<Error> for ShmapError
Source§impl From<Error> for ShmapError
impl From<Error> for ShmapError
Auto Trait Implementations§
impl Freeze for ShmapError
impl !RefUnwindSafe for ShmapError
impl Send for ShmapError
impl Sync for ShmapError
impl Unpin for ShmapError
impl !UnwindSafe for ShmapError
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