pub struct PiMutexStorage<'lock> {
pub owner: &'lock AtomicU64,
pub generation: &'lock AtomicU64,
pub wait_state: &'lock AtomicU8,
pub wait_words: &'lock UnsafeCell<[MaybeUninit<usize>; 5]>,
}Expand description
Borrowed fixed storage for one external PI mutex.
Fields§
§owner: &'lock AtomicU64§generation: &'lock AtomicU64§wait_state: &'lock AtomicU8§wait_words: &'lock UnsafeCell<[MaybeUninit<usize>; 5]>Trait Implementations§
Source§impl<'lock> Clone for PiMutexStorage<'lock>
impl<'lock> Clone for PiMutexStorage<'lock>
Source§fn clone(&self) -> PiMutexStorage<'lock>
fn clone(&self) -> PiMutexStorage<'lock>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'lock> Copy for PiMutexStorage<'lock>
Auto Trait Implementations§
impl<'lock> !RefUnwindSafe for PiMutexStorage<'lock>
impl<'lock> !Send for PiMutexStorage<'lock>
impl<'lock> !Sync for PiMutexStorage<'lock>
impl<'lock> !UnwindSafe for PiMutexStorage<'lock>
impl<'lock> Freeze for PiMutexStorage<'lock>
impl<'lock> Unpin for PiMutexStorage<'lock>
impl<'lock> UnsafeUnpin for PiMutexStorage<'lock>
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