pub struct VcpuId { /* private fields */ }Expand description
Virtual CPU identifier within a partition.
A vCPU represents a schedulable execution context. Each vCPU belongs to exactly one partition and carries its own register state and witness trail.
Implementations§
Trait Implementations§
impl Copy for VcpuId
impl Eq for VcpuId
Source§impl Ord for VcpuId
impl Ord for VcpuId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for VcpuId
impl PartialOrd for VcpuId
impl StructuralPartialEq for VcpuId
Auto Trait Implementations§
impl Freeze for VcpuId
impl RefUnwindSafe for VcpuId
impl Send for VcpuId
impl Sync for VcpuId
impl Unpin for VcpuId
impl UnsafeUnpin for VcpuId
impl UnwindSafe for VcpuId
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