#[repr(C)]pub struct mutex {
pub owner: __anon_1,
pub wait_lock: raw_spinlock,
pub osq: optimistic_spin_queue,
pub wait_list: list_head,
}Fields§
§owner: __anon_1§wait_lock: raw_spinlock§osq: optimistic_spin_queue§wait_list: list_headTrait Implementations§
Auto Trait Implementations§
impl !Send for mutex
impl !Sync for mutex
impl Freeze for mutex
impl RefUnwindSafe for mutex
impl Unpin for mutex
impl UnsafeUnpin for mutex
impl UnwindSafe for mutex
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