pub struct ProcessIds { /* private fields */ }Expand description
Hands out numbers that never repeat in a process, from any thread: the ids of observers, listeners and other registrations.
A target without 64-bit atomics, such as the ESP32’s Xtensa cores, takes them under a lock: portable-atomic’s 64-bit atomics there keep a table of 67 locks, 4,288 bytes of RAM.
Implementations§
Source§impl ProcessIds
impl ProcessIds
Auto Trait Implementations§
impl !Freeze for ProcessIds
impl Forget for ProcessIds
impl Move for ProcessIds
impl RefUnwindSafe for ProcessIds
impl Send for ProcessIds
impl Sync for ProcessIds
impl Unpin for ProcessIds
impl UnsafeUnpin for ProcessIds
impl UnwindSafe for ProcessIds
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