pub(crate) struct Mutex<T: ?Sized>(Mutex<T>);
Expand description
Adapter for std::Mutex
that removes the poisoning aspects
from its api.
Tuple Fields§
§0: Mutex<T>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T: ?Sized> RefUnwindSafe for Mutex<T>
impl<T: ?Sized> Send for Mutex<T>where T: Send,
impl<T: ?Sized> Sync for Mutex<T>where T: Send,
impl<T: ?Sized> Unpin for Mutex<T>where T: Unpin,
impl<T: ?Sized> UnwindSafe for Mutex<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