pub(crate) struct SetCurrentGuard {
prev: Option<Handle>,
depth: usize,
_p: PhantomData<SyncNotSend>,
}
Fields§
§prev: Option<Handle>
§depth: usize
§_p: PhantomData<SyncNotSend>
Trait Implementations§
source§impl Debug for SetCurrentGuard
impl Debug for SetCurrentGuard
Auto Trait Implementations§
impl Freeze for SetCurrentGuard
impl !RefUnwindSafe for SetCurrentGuard
impl !Send for SetCurrentGuard
impl Sync for SetCurrentGuard
impl Unpin for SetCurrentGuard
impl !UnwindSafe for SetCurrentGuard
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