pub enum SlotError {
Overflow {
slot: usize,
width: usize,
limit: usize,
},
Uninitialized {
slot: usize,
},
ZeroWidth {
slot: usize,
},
}Expand description
Exact failure evidence from indexed slot storage.
Variants§
Overflow
The requested value would extend beyond the slot-file limit.
Fields
Uninitialized
The named slot is not the initialized start of a value.
ZeroWidth
A width policy violated its contract by returning zero.
Trait Implementations§
impl Copy for SlotError
impl Eq for SlotError
impl StructuralPartialEq for SlotError
Auto Trait Implementations§
impl Freeze for SlotError
impl RefUnwindSafe for SlotError
impl Send for SlotError
impl Sync for SlotError
impl Unpin for SlotError
impl UnsafeUnpin for SlotError
impl UnwindSafe for SlotError
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