Struct os::task::PidAllocator
source · pub struct PidAllocator {
current: usize,
recycled: Vec<usize>,
}
Expand description
Pid Allocator struct
Fields§
§current: usize
§recycled: Vec<usize>
Implementations§
Auto Trait Implementations§
impl Freeze for PidAllocator
impl RefUnwindSafe for PidAllocator
impl Send for PidAllocator
impl Sync for PidAllocator
impl Unpin for PidAllocator
impl UnwindSafe for PidAllocator
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