pub enum StorageError {
CapacityOverflow,
NotEnoughEntries {
required: usize,
available: usize,
},
NotEnoughTags {
required: usize,
available: usize,
},
}Expand description
Error returned when the backing storage is too small for a map.
Variants§
CapacityOverflow
Twice the requested entry capacity overflows usize.
NotEnoughEntries
The entry buffer has fewer than required physical slots.
NotEnoughTags
The tag buffer has fewer than required physical slots.
Trait Implementations§
Source§impl Clone for StorageError
impl Clone for StorageError
impl Copy for StorageError
Source§impl Debug for StorageError
impl Debug for StorageError
impl Eq for StorageError
Source§impl PartialEq for StorageError
impl PartialEq for StorageError
impl StructuralPartialEq for StorageError
Auto Trait Implementations§
impl Forget for StorageError
impl Freeze for StorageError
impl Move for StorageError
impl RefUnwindSafe for StorageError
impl Send for StorageError
impl Sync for StorageError
impl Unpin for StorageError
impl UnsafeUnpin for StorageError
impl UnwindSafe for StorageError
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