pub struct PerCpuArea { /* private fields */ }Expand description
Descriptor for one initialized runtime per-CPU area.
Implementations§
Source§impl PerCpuArea
impl PerCpuArea
Sourcepub const fn runtime_base(self) -> usize
pub const fn runtime_base(self) -> usize
Returns this area’s exact runtime base.
Sourcepub fn cpu_area(self) -> Result<CpuAreaRef, PerCpuError>
pub fn cpu_area(self) -> Result<CpuAreaRef, PerCpuError>
Returns the validated CPU-local prefix identity.
Sourcepub fn prefix(self) -> Result<&'static CpuAreaPrefix, PerCpuError>
pub fn prefix(self) -> Result<&'static CpuAreaPrefix, PerCpuError>
Returns the initialized fixed prefix.
Sourcepub fn runtime_anchor(self) -> Result<&'static CpuRuntimeAnchor, PerCpuError>
pub fn runtime_anchor(self) -> Result<&'static CpuRuntimeAnchor, PerCpuError>
Returns this remote area’s runtime/trap anchor.
Trait Implementations§
Source§impl Clone for PerCpuArea
impl Clone for PerCpuArea
Source§fn clone(&self) -> PerCpuArea
fn clone(&self) -> PerCpuArea
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PerCpuArea
Source§impl Debug for PerCpuArea
impl Debug for PerCpuArea
impl Eq for PerCpuArea
Source§impl PartialEq for PerCpuArea
impl PartialEq for PerCpuArea
impl StructuralPartialEq for PerCpuArea
Auto Trait Implementations§
impl Freeze for PerCpuArea
impl RefUnwindSafe for PerCpuArea
impl Send for PerCpuArea
impl Sync for PerCpuArea
impl Unpin for PerCpuArea
impl UnsafeUnpin for PerCpuArea
impl UnwindSafe for PerCpuArea
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