pub enum SparseSlotError {
IndexOutOfBounds(usize),
Occupied(usize),
GenerationMismatch(u16),
IllegalZeroGeneration,
}Variants§
Trait Implementations§
Source§impl Debug for SparseSlotError
impl Debug for SparseSlotError
Source§impl PartialEq for SparseSlotError
impl PartialEq for SparseSlotError
impl Eq for SparseSlotError
impl StructuralPartialEq for SparseSlotError
Auto Trait Implementations§
impl Freeze for SparseSlotError
impl RefUnwindSafe for SparseSlotError
impl Send for SparseSlotError
impl Sync for SparseSlotError
impl Unpin for SparseSlotError
impl UnwindSafe for SparseSlotError
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