pub struct FiberRef<T> { /* private fields */ }Expand description
A thread-local variable for fibers.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for FiberRef<T>
impl<T> RefUnwindSafe for FiberRef<T>where
T: RefUnwindSafe,
impl<T> Send for FiberRef<T>
impl<T> Sync for FiberRef<T>
impl<T> Unpin for FiberRef<T>
impl<T> UnwindSafe for FiberRef<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