pub enum HandlerError {
AllocationFailed(String),
ReservedStatus(u32),
TransitionFailed(u32),
InvalidOffset(u32),
SeppukuFailed {
path: String,
reason: Error,
},
}Expand description
Errors produced by MatrixHandler and SharedHandler operations.
Variants§
AllocationFailed(String)
The allocator could not find a free block. Either OOM or contention.
ReservedStatus(u32)
Caller attempted to set or transition to a reserved internal state (0–48).
TransitionFailed(u32)
Atomic state transition failed — block was not in the expected state. Contains the actual state found.
InvalidOffset(u32)
The block offset is outside the valid segment range.
SeppukuFailed
Failed to unlink the main SHM file for unpredicted reasons.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HandlerError
impl !RefUnwindSafe for HandlerError
impl Send for HandlerError
impl Sync for HandlerError
impl Unpin for HandlerError
impl UnsafeUnpin for HandlerError
impl !UnwindSafe for HandlerError
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