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
sourceimpl Deref for PID2TCB
impl Deref for PID2TCB
type Target = UPSafeCell<BTreeMap<usize, Arc<TaskControlBlock>, Global>>
type Target = UPSafeCell<BTreeMap<usize, Arc<TaskControlBlock>, Global>>
The resulting type after dereferencing.
sourcefn 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 RefUnwindSafe for PID2TCB
impl Send for PID2TCB
impl Sync for PID2TCB
impl Unpin for PID2TCB
impl UnwindSafe for PID2TCB
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