pub struct RuntimeGuard<'a> { /* private fields */ }Expand description
The runtime guard constructed with Runtime::enter.
Runtime plumbing is available as long as this guard is in scope.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RuntimeGuard<'a>
impl<'a> !RefUnwindSafe for RuntimeGuard<'a>
impl<'a> !Send for RuntimeGuard<'a>
impl<'a> !Sync for RuntimeGuard<'a>
impl<'a> Unpin for RuntimeGuard<'a>
impl<'a> !UnwindSafe for RuntimeGuard<'a>
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