pub struct MutexOption<T> { /* private fields */ }
Expand description
Naive Mutex<Option<T>>
wrapper.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for MutexOption<T>
impl<T> RefUnwindSafe for MutexOption<T>
impl<T> Send for MutexOption<T>where
T: Send,
impl<T> Sync for MutexOption<T>where
T: Send,
impl<T> Unpin for MutexOption<T>where
T: Unpin,
impl<T> UnwindSafe for MutexOption<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