pub struct ExclusiveCpu<'pin> { /* private fields */ }Expand description
Scoped proof of exclusive local access to CPU-owned mutable state.
In addition to migration exclusion, the caller that creates this token has excluded local IRQ/re-entry and every conflicting remote access.
Implementations§
Source§impl ExclusiveCpu<'_>
impl ExclusiveCpu<'_>
Sourcepub const fn area(&self) -> CpuAreaRef
pub const fn area(&self) -> CpuAreaRef
Returns the initialized area covered by this stronger capability.
Trait Implementations§
Auto Trait Implementations§
impl<'pin> !Send for ExclusiveCpu<'pin>
impl<'pin> !Sync for ExclusiveCpu<'pin>
impl<'pin> !UnwindSafe for ExclusiveCpu<'pin>
impl<'pin> Freeze for ExclusiveCpu<'pin>
impl<'pin> RefUnwindSafe for ExclusiveCpu<'pin>
impl<'pin> Unpin for ExclusiveCpu<'pin>
impl<'pin> UnsafeUnpin for ExclusiveCpu<'pin>
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