pub enum MemoryLockError {
LockFailed,
}Expand description
The MemoryLockError enum is a generalization when one doesn’t require the fine-grained error
handling enums. One can forward MemoryLockError as more generic return value when a method
returns a MemoryLock***Error.
On a higher level it is again convertable to crate::Error.
Variants§
LockFailed
Trait Implementations§
Source§impl Clone for MemoryLockError
impl Clone for MemoryLockError
Source§fn clone(&self) -> MemoryLockError
fn clone(&self) -> MemoryLockError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemoryLockError
impl Debug for MemoryLockError
Source§impl From<MemoryLockAllError> for MemoryLockError
impl From<MemoryLockAllError> for MemoryLockError
Source§fn from(_: MemoryLockAllError) -> Self
fn from(_: MemoryLockAllError) -> Self
Converts to this type from the input type.
Source§impl From<MemoryLockCreationError> for MemoryLockError
impl From<MemoryLockCreationError> for MemoryLockError
Source§fn from(_: MemoryLockCreationError) -> Self
fn from(_: MemoryLockCreationError) -> Self
Converts to this type from the input type.
Source§impl From<MemoryLockError> for Error
impl From<MemoryLockError> for Error
Source§fn from(_: MemoryLockError) -> Self
fn from(_: MemoryLockError) -> Self
Converts to this type from the input type.
Source§impl Hash for MemoryLockError
impl Hash for MemoryLockError
Source§impl PartialEq for MemoryLockError
impl PartialEq for MemoryLockError
impl Copy for MemoryLockError
impl Eq for MemoryLockError
impl StructuralPartialEq for MemoryLockError
Auto Trait Implementations§
impl Freeze for MemoryLockError
impl RefUnwindSafe for MemoryLockError
impl Send for MemoryLockError
impl Sync for MemoryLockError
impl Unpin for MemoryLockError
impl UnwindSafe for MemoryLockError
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