Enum generational_cache::arena::ArenaError
source · pub enum ArenaError<VE> {
OutOfMemory,
InvalidIdx,
VectorError(VE),
}
Expand description
Error type associated with arena operations.
Variants§
OutOfMemory
Used on inserts on a maxed out Arena
which is out of memory.
InvalidIdx
VectorError(VE)
Used when there is an error in the underlying Vector
implemenation instance.
Trait Implementations§
source§impl<VE: Debug> Debug for ArenaError<VE>
impl<VE: Debug> Debug for ArenaError<VE>
Auto Trait Implementations§
impl<VE> RefUnwindSafe for ArenaError<VE>where VE: RefUnwindSafe,
impl<VE> Send for ArenaError<VE>where VE: Send,
impl<VE> Sync for ArenaError<VE>where VE: Sync,
impl<VE> Unpin for ArenaError<VE>where VE: Unpin,
impl<VE> UnwindSafe for ArenaError<VE>where VE: UnwindSafe,
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