pub enum ArenaError {
OutOfSpace,
InvalidOffset,
}Expand description
Errors produced by the arena.
Variants§
OutOfSpace
Not enough remaining bytes for the allocation.
InvalidOffset
The arena offset is out of bounds or points to an invalid entry.
Trait Implementations§
Source§impl Clone for ArenaError
impl Clone for ArenaError
impl Copy for ArenaError
Source§impl Debug for ArenaError
impl Debug for ArenaError
impl Eq for ArenaError
Source§impl PartialEq for ArenaError
impl PartialEq for ArenaError
impl StructuralPartialEq for ArenaError
Auto Trait Implementations§
impl Forget for ArenaError
impl Freeze for ArenaError
impl RefUnwindSafe for ArenaError
impl Send for ArenaError
impl Sync for ArenaError
impl Unpin for ArenaError
impl UnsafeUnpin for ArenaError
impl UnwindSafe for ArenaError
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