Struct parking_lot_core::parking_lot::Bucket
source · #[repr(align(64))]struct Bucket {
mutex: WordLock,
queue_head: Cell<*const ThreadData>,
queue_tail: Cell<*const ThreadData>,
fair_timeout: UnsafeCell<FairTimeout>,
}
Fields§
§mutex: WordLock
§queue_head: Cell<*const ThreadData>
§queue_tail: Cell<*const ThreadData>
§fair_timeout: UnsafeCell<FairTimeout>
Implementations§
Auto Trait Implementations§
impl !Freeze for Bucket
impl !RefUnwindSafe for Bucket
impl !Send for Bucket
impl !Sync for Bucket
impl Unpin for Bucket
impl !UnwindSafe for Bucket
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