pub struct ContextAliveToken(/* private fields */);Expand description
A weak token that indicates whether a Context is still alive.
Implementations§
Trait Implementations§
Source§impl Clone for ContextAliveToken
impl Clone for ContextAliveToken
Source§fn clone(&self) -> ContextAliveToken
fn clone(&self) -> ContextAliveToken
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ContextAliveToken
impl !RefUnwindSafe for ContextAliveToken
impl !Send for ContextAliveToken
impl !Sync for ContextAliveToken
impl Unpin for ContextAliveToken
impl UnsafeUnpin for ContextAliveToken
impl !UnwindSafe for ContextAliveToken
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