pub struct PID2PCB {
__private_field: (),
}
Fields
__private_field: ()
Methods from Deref<Target = UPSafeCell<BTreeMap<usize, Arc<ProcessControlBlock>>>>
sourcepub fn exclusive_access(&self) -> RefMut<'_, T>
pub fn exclusive_access(&self) -> RefMut<'_, T>
Panic if the data has been borrowed.
Trait Implementations
sourceimpl Deref for PID2PCB
impl Deref for PID2PCB
type Target = UPSafeCell<BTreeMap<usize, Arc<ProcessControlBlock>>>
type Target = UPSafeCell<BTreeMap<usize, Arc<ProcessControlBlock>>>
The resulting type after dereferencing.
sourcefn deref(&self) -> &UPSafeCell<BTreeMap<usize, Arc<ProcessControlBlock>>>
fn deref(&self) -> &UPSafeCell<BTreeMap<usize, Arc<ProcessControlBlock>>>
Dereferences the value.
impl LazyStatic for PID2PCB
Auto Trait Implementations
impl RefUnwindSafe for PID2PCB
impl Send for PID2PCB
impl Sync for PID2PCB
impl Unpin for PID2PCB
impl UnwindSafe for PID2PCB
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more