pub struct Pid<const ORDER: usize> { /* private fields */ }
Expand description
A handle to an allocated PID. When dropped, the PID is automatically recycled back into the allocator.
Trait Implementations§
Auto Trait Implementations§
impl<const ORDER: usize> Freeze for Pid<ORDER>
impl<const ORDER: usize> !RefUnwindSafe for Pid<ORDER>
impl<const ORDER: usize> Send for Pid<ORDER>
impl<const ORDER: usize> Sync for Pid<ORDER>
impl<const ORDER: usize> Unpin for Pid<ORDER>
impl<const ORDER: usize> !UnwindSafe for Pid<ORDER>
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