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 UnsafeUnpin 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