[−][src]Struct raw_sync::locks::Mutex
Trait Implementations
impl Drop for Mutex[src]
impl LockImpl for Mutex[src]
fn as_raw(&self) -> *mut c_void[src]
fn lock(&self) -> Result<LockGuard, Box<dyn Error>>[src]
fn try_lock(&self, timeout: Timeout) -> Result<LockGuard, Box<dyn Error>>[src]
fn release(&self) -> Result<(), Box<dyn Error>>[src]
unsafe fn get_inner(&self) -> &mut *mut u8[src]
fn rlock(&self) -> Result<ReadLockGuard, Box<dyn Error>>[src]
fn try_rlock(&self, timeout: Timeout) -> Result<ReadLockGuard, Box<dyn Error>>[src]
impl LockInit for Mutex[src]
Auto Trait Implementations
impl !RefUnwindSafe for Mutex
impl !Send for Mutex
impl !Sync for Mutex
impl Unpin for Mutex
impl UnwindSafe for Mutex
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,