pub struct PROCESSOR {
__private_field: (),
}Expand description
全局处理器
Fields§
§__private_field: ()Methods from Deref<Target = SyncRefCell<Processor>>§
Sourcepub fn fork(
self: &Arc<SyncRefCell<ProcessControlBlock>>,
) -> Arc<SyncRefCell<ProcessControlBlock>>
pub fn fork( self: &Arc<SyncRefCell<ProcessControlBlock>>, ) -> Arc<SyncRefCell<ProcessControlBlock>>
Sourcepub fn exec(
self: &Arc<SyncRefCell<ProcessControlBlock>>,
app_data: &[u8],
args: Vec<String>,
)
pub fn exec( self: &Arc<SyncRefCell<ProcessControlBlock>>, app_data: &[u8], args: Vec<String>, )
Sourcepub fn inner_borrow_mut(&self) -> RefMut<'_, T>
pub fn inner_borrow_mut(&self) -> RefMut<'_, T>
Sourcepub fn inner_borrow(&self) -> Ref<'_, T>
pub fn inner_borrow(&self) -> Ref<'_, T>
Trait Implementations§
Source§impl Deref for PROCESSOR
impl Deref for PROCESSOR
Source§type Target = SyncRefCell<Processor>
type Target = SyncRefCell<Processor>
The resulting type after dereferencing.
Source§fn deref(&self) -> &SyncRefCell<Processor>
fn deref(&self) -> &SyncRefCell<Processor>
Dereferences the value.
impl LazyStatic for PROCESSOR
Auto Trait Implementations§
impl Freeze for PROCESSOR
impl RefUnwindSafe for PROCESSOR
impl Send for PROCESSOR
impl Sync for PROCESSOR
impl Unpin for PROCESSOR
impl UnwindSafe for PROCESSOR
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