pub struct HeapOp {
pub kind: HeapOpKind,
pub range: Option<Range>,
pub backtrace: String,
}Expand description
An operation that was performed on an allocation.
Fields§
§kind: HeapOpKindWhat kind of operation
range: Option<Range>Byte range affected (if applicable)
backtrace: StringBacktrace at the time of the operation (stored as string since Backtrace isn’t Clone)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HeapOp
impl RefUnwindSafe for HeapOp
impl Send for HeapOp
impl Sync for HeapOp
impl Unpin for HeapOp
impl UnsafeUnpin for HeapOp
impl UnwindSafe for HeapOp
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