pub struct CpuCoreOwnerView {
pub cpu: CpuId,
pub current_task: Option<Loc>,
pub locals_key: Seq<Loc>,
}Expand description
Logical scheduling state carried by a CPU-local resource owner.
Fields§
§cpu: CpuIdStable logical CPU represented by this core.
current_task: Option<Loc>Task currently executing on this core, or None while the core is idle.
locals_key: Seq<Loc>Ordered identities of the CPU-local resources assigned to this core.
Auto Trait Implementations§
impl Freeze for CpuCoreOwnerView
impl RefUnwindSafe for CpuCoreOwnerView
impl Send for CpuCoreOwnerView
impl Sync for CpuCoreOwnerView
impl Unpin for CpuCoreOwnerView
impl UnsafeUnpin for CpuCoreOwnerView
impl UnwindSafe for CpuCoreOwnerView
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