Struct crossbeam_utils::sync::sharded_lock::Registration
source · struct Registration {
index: usize,
thread_id: ThreadId,
}
Expand description
A registration of a thread with an index.
When dropped, unregisters the thread and frees the reserved index.
Fields§
§index: usize
§thread_id: ThreadId
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Registration
impl RefUnwindSafe for Registration
impl Send for Registration
impl Sync for Registration
impl Unpin for Registration
impl UnwindSafe for Registration
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