pub enum AllocationStatus {
Dangling,
DeadObject,
Null,
InBounds,
OutOfBounds,
}
Expand description
Enumeration with the cases currently covered by the pointer generator.
Variants§
Dangling
Dangling pointers
DeadObject
Pointer to dead object
Null
Null pointers
InBounds
In bounds pointer (it may be unaligned)
OutOfBounds
The pointer cannot be read / written to for the given type since one or more bytes would be out of bounds of the current allocation.
Trait Implementations§
Source§impl Arbitrary for AllocationStatus
impl Arbitrary for AllocationStatus
Source§impl Clone for AllocationStatus
impl Clone for AllocationStatus
Source§fn clone(&self) -> AllocationStatus
fn clone(&self) -> AllocationStatus
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 AllocationStatus
impl Debug for AllocationStatus
Source§impl PartialEq for AllocationStatus
impl PartialEq for AllocationStatus
impl Copy for AllocationStatus
impl Eq for AllocationStatus
impl StructuralPartialEq for AllocationStatus
Auto Trait Implementations§
impl Freeze for AllocationStatus
impl RefUnwindSafe for AllocationStatus
impl Send for AllocationStatus
impl Sync for AllocationStatus
impl Unpin for AllocationStatus
impl UnwindSafe for AllocationStatus
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