pub struct VmState {
pub name: String,
pub pid: u32,
pub started_at_unix: u64,
pub qmp_socket: PathBuf,
pub display_socket: PathBuf,
pub agent_socket: Option<PathBuf>,
}Expand description
Process and socket metadata for one running VM.
Fields§
§name: StringDefinition name.
pid: u32QEMU daemon process ID.
started_at_unix: u64UNIX timestamp at launch.
qmp_socket: PathBufQMP control endpoint.
display_socket: PathBufRFB display endpoint.
agent_socket: Option<PathBuf>Optional QEMU Guest Agent proxy endpoint.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VmState
impl<'de> Deserialize<'de> for VmState
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
impl Eq for VmState
impl StructuralPartialEq for VmState
Auto Trait Implementations§
impl Forget for VmState
impl Freeze for VmState
impl Move for VmState
impl RefUnwindSafe for VmState
impl Send for VmStatewhere
RawVecInner: Send,
impl Sync for VmStatewhere
RawVecInner: Sync,
impl Unpin for VmState
impl UnsafeUnpin for VmState
impl UnwindSafe for VmStatewhere
RawVecInner: UnwindSafe,
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