pub struct ScopedKey<T>where
T: 'static,{ /* private fields */ }
Expand description
Wrapper for [scoped_tls::ScopedKey] with better error messages.
Implementations§
Auto Trait Implementations§
impl<T> Freeze for ScopedKey<T>
impl<T> RefUnwindSafe for ScopedKey<T>where
T: RefUnwindSafe,
impl<T> Send for ScopedKey<T>
impl<T> Sync for ScopedKey<T>
impl<T> Unpin for ScopedKey<T>
impl<T> UnwindSafe for ScopedKey<T>where
T: RefUnwindSafe,
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