pub struct ThreadCellSession<T> { /* private fields */ }Expand description
A session with exclusive access to the resource held by the thread.
While held, this is the only way to access the resource. It is possible to create a “deadlock”
if a ThreadCellSession is requested while one is already held.
Implementations§
Source§impl<T> ThreadCellSession<T>
impl<T> ThreadCellSession<T>
Auto Trait Implementations§
impl<T> Freeze for ThreadCellSession<T>
impl<T> RefUnwindSafe for ThreadCellSession<T>
impl<T> Send for ThreadCellSession<T>
impl<T> Sync for ThreadCellSession<T>
impl<T> Unpin for ThreadCellSession<T>
impl<T> UnwindSafe for ThreadCellSession<T>
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