pub enum AllocOp {
Alloc,
AllocZeroed,
Realloc,
}Expand description
Allocator operation that was selected for injected failure.
Variants§
Alloc
A call to GlobalAlloc::alloc.
AllocZeroed
A call to GlobalAlloc::alloc_zeroed.
Realloc
A call to GlobalAlloc::realloc.
Trait Implementations§
impl Copy for AllocOp
impl Eq for AllocOp
impl StructuralPartialEq for AllocOp
Auto Trait Implementations§
impl Freeze for AllocOp
impl RefUnwindSafe for AllocOp
impl Send for AllocOp
impl Sync for AllocOp
impl Unpin for AllocOp
impl UnsafeUnpin for AllocOp
impl UnwindSafe for AllocOp
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