pub struct AsyncScope<C: CategoryString = &'static CStr, S: AsTraceStrRef = &'static CStr> { /* private fields */ }Expand description
AsyncScope maintains state around the context of async events generated via the async_enter! macro.
Implementations§
Source§impl<C: CategoryString, S: AsTraceStrRef> AsyncScope<C, S>
impl<C: CategoryString, S: AsTraceStrRef> AsyncScope<C, S>
Trait Implementations§
Source§impl<C: CategoryString, S: AsTraceStrRef> Drop for AsyncScope<C, S>
impl<C: CategoryString, S: AsTraceStrRef> Drop for AsyncScope<C, S>
Auto Trait Implementations§
impl<C, S> Freeze for AsyncScope<C, S>
impl<C, S> RefUnwindSafe for AsyncScope<C, S>where
C: RefUnwindSafe,
S: RefUnwindSafe,
impl<C, S> Send for AsyncScope<C, S>
impl<C, S> Sync for AsyncScope<C, S>
impl<C, S> Unpin for AsyncScope<C, S>
impl<C, S> UnwindSafe for AsyncScope<C, S>where
C: UnwindSafe,
S: UnwindSafe,
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