Struct parking_lot_core::parking_lot::ThreadData
source · struct ThreadData {
parker: ThreadParker,
key: AtomicUsize,
next_in_queue: Cell<*const ThreadData>,
unpark_token: Cell<UnparkToken>,
park_token: Cell<ParkToken>,
parked_with_timeout: Cell<bool>,
}
Fields§
§parker: ThreadParker
§key: AtomicUsize
§next_in_queue: Cell<*const ThreadData>
§unpark_token: Cell<UnparkToken>
§park_token: Cell<ParkToken>
§parked_with_timeout: Cell<bool>
Implementations§
source§impl ThreadData
impl ThreadData
fn new() -> ThreadData
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ThreadData
impl !RefUnwindSafe for ThreadData
impl !Send for ThreadData
impl !Sync for ThreadData
impl Unpin for ThreadData
impl !UnwindSafe for ThreadData
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