pub struct WorldRecord {
pub id: u64,
pub name: [u8; 32],
pub name_len: u8,
pub silo_id: u32,
pub state: u32,
pub vcpu_count: u32,
pub mapped_pages: u64,
}Expand description
Public record of a world.
Fields§
§id: u64Opaque identifier (never 0).
name: [u8; 32]Name (truncated UTF-8, zero-padded).
name_len: u8Usable length of the name.
silo_id: u32Owning silo (0 = kernel world).
state: u32State (strat9_abi::vmm::state constants).
vcpu_count: u32Number of registered vCPUs.
mapped_pages: u64Mapped guest pages.
Implementations§
Trait Implementations§
Source§impl Clone for WorldRecord
impl Clone for WorldRecord
impl Copy for WorldRecord
Auto Trait Implementations§
impl Forget for WorldRecord
impl Freeze for WorldRecord
impl Move for WorldRecord
impl RefUnwindSafe for WorldRecord
impl Send for WorldRecord
impl Sync for WorldRecord
impl Unpin for WorldRecord
impl UnsafeUnpin for WorldRecord
impl UnwindSafe for WorldRecord
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more