Enum docs::immix::errors::BlockError
source · pub enum BlockError {
BadSize(usize),
OutOfMemory,
NoSpaceForAllocation,
AddressOverflow,
}Variants§
BadSize(usize)
block size is not a power of two
OutOfMemory
Cannot allocate memory
NoSpaceForAllocation
Cannot allocate in block
AddressOverflow
Address have overflow
Trait Implementations§
source§impl Clone for BlockError
impl Clone for BlockError
source§fn clone(&self) -> BlockError
fn clone(&self) -> BlockError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for BlockError
impl Debug for BlockError
source§impl From<BlockError> for AllocError
impl From<BlockError> for AllocError
source§fn from(value: BlockError) -> Self
fn from(value: BlockError) -> Self
Converts to this type from the input type.
source§impl PartialEq for BlockError
impl PartialEq for BlockError
source§fn eq(&self, other: &BlockError) -> bool
fn eq(&self, other: &BlockError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BlockError
Auto Trait Implementations§
impl Freeze for BlockError
impl RefUnwindSafe for BlockError
impl Send for BlockError
impl Sync for BlockError
impl Unpin for BlockError
impl UnwindSafe for BlockError
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