pub struct NodeInfo {
pub node_id: String,
pub hostname: String,
pub arch: String,
pub total_vcpus: u32,
pub total_mem_mib: u64,
pub lima_status: Option<String>,
pub firecracker_version: Option<String>,
pub jailer_available: bool,
pub cgroup_v2: bool,
pub attestation_provider: String,
}Expand description
Node identity and resource limits, persisted at /var/lib/mvm/node.json.
Fields§
§node_id: String§hostname: String§arch: String§total_vcpus: u32§total_mem_mib: u64§lima_status: Option<String>§firecracker_version: Option<String>§jailer_available: bool§cgroup_v2: bool§attestation_provider: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for NodeInfo
impl<'de> Deserialize<'de> for NodeInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NodeInfo
impl RefUnwindSafe for NodeInfo
impl Send for NodeInfo
impl Sync for NodeInfo
impl Unpin for NodeInfo
impl UnsafeUnpin for NodeInfo
impl UnwindSafe for NodeInfo
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