pub struct StacktrackWriter { /* private fields */ }Expand description
Writer for the Stacktrack VMO.
Implementations§
Source§impl StacktrackWriter
impl StacktrackWriter
Sourcepub unsafe fn new(vmo: &Vmo) -> Result<Self, Error>
pub unsafe fn new(vmo: &Vmo) -> Result<Self, Error>
Initializes a VMO as an empty table and creates a StacktrackWriter to write into it.
§Safety
The caller must guarantee that the vmo is not accessed by others while the returned
instance is alive. However, it always safe to take a snapshot and read that instead.
Auto Trait Implementations§
impl Freeze for StacktrackWriter
impl RefUnwindSafe for StacktrackWriter
impl Send for StacktrackWriter
impl Sync for StacktrackWriter
impl Unpin for StacktrackWriter
impl UnsafeUnpin for StacktrackWriter
impl UnwindSafe for StacktrackWriter
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