pub enum AllocModelError {
OutOfMemory,
DoubleFree,
InvalidFrame,
ConservationViolation,
BuddyInconsistency,
ZoneViolation,
AlignmentViolation,
OverlapDetected,
}Expand description
Errors from allocator verification
Variants§
OutOfMemory
No free frames available
DoubleFree
Attempted to free an already-free frame
InvalidFrame
Frame address is not managed by this allocator
ConservationViolation
Conservation invariant violated (allocated + free != total)
BuddyInconsistency
Buddy pair inconsistency
ZoneViolation
Zone allocation from wrong region
AlignmentViolation
Alignment violation
OverlapDetected
Overlap between allocated regions
Trait Implementations§
Source§impl Clone for AllocModelError
impl Clone for AllocModelError
Source§fn clone(&self) -> AllocModelError
fn clone(&self) -> AllocModelError
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AllocModelError
impl Debug for AllocModelError
Source§impl PartialEq for AllocModelError
impl PartialEq for AllocModelError
impl Copy for AllocModelError
impl Eq for AllocModelError
impl StructuralPartialEq for AllocModelError
Auto Trait Implementations§
impl Freeze for AllocModelError
impl RefUnwindSafe for AllocModelError
impl Send for AllocModelError
impl Sync for AllocModelError
impl Unpin for AllocModelError
impl UnwindSafe for AllocModelError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)