pub struct PID2TCB {
__private_field: (),
}
Fields§
§__private_field: ()
Methods from Deref<Target = UPSafeCell<BTreeMap<usize, Arc<TaskControlBlock>>>>§
sourcepub fn exclusive_access(&self) -> RefMut<'_, T>
pub fn exclusive_access(&self) -> RefMut<'_, T>
Panic if the data has been borrowed.
Trait Implementations§
source§impl Deref for PID2TCB
impl Deref for PID2TCB
§type Target = UPSafeCell<BTreeMap<usize, Arc<TaskControlBlock>>>
type Target = UPSafeCell<BTreeMap<usize, Arc<TaskControlBlock>>>
The resulting type after dereferencing.
source§fn deref(&self) -> &UPSafeCell<BTreeMap<usize, Arc<TaskControlBlock>>>
fn deref(&self) -> &UPSafeCell<BTreeMap<usize, Arc<TaskControlBlock>>>
Dereferences the value.
impl LazyStatic for PID2TCB
Auto Trait Implementations§
impl Freeze for PID2TCB
impl RefUnwindSafe for PID2TCB
impl Send for PID2TCB
impl Sync for PID2TCB
impl Unpin for PID2TCB
impl UnwindSafe for PID2TCB
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