pub struct TraceSession { /* private fields */ }Expand description
Owning lifetime of a trace. Explicit finish reports errors; Drop still drains.
Implementations§
Source§impl TraceSession
impl TraceSession
pub fn finish(self) -> Result<(), TraceError>
Trait Implementations§
Source§impl Drop for TraceSession
impl Drop for TraceSession
Auto Trait Implementations§
impl !RefUnwindSafe for TraceSession
impl !UnwindSafe for TraceSession
impl Freeze for TraceSession
impl Send for TraceSession
impl Sync for TraceSession
impl Unpin for TraceSession
impl UnsafeUnpin for TraceSession
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