pub struct Token<'brand>(/* private fields */);
Expand description
A temporary singleton token created by the with_token function.
See the with_token function for details.
Trait Implementations§
impl<'brand> Send for Token<'brand>
impl<'brand> Singleton for Token<'brand>
impl<'brand> Sync for Token<'brand>
Auto Trait Implementations§
impl<'brand> Freeze for Token<'brand>
impl<'brand> RefUnwindSafe for Token<'brand>
impl<'brand> Unpin for Token<'brand>
impl<'brand> UnwindSafe for Token<'brand>
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