Expand description
Process identifier allocator using stack allocation
Fields
current: usize
A new PID to be assigned
recycled: Vec<usize>
Recycled PID sequence
Implementations
sourceimpl PidAllocator
impl PidAllocator
Auto Trait Implementations
impl RefUnwindSafe for PidAllocator
impl Send for PidAllocator
impl Sync for PidAllocator
impl Unpin for PidAllocator
impl UnwindSafe for PidAllocator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more