pub enum HandleData {
Systemd {
unit_name: String,
},
Launchd {
label: String,
},
Container {
runtime: String,
container_id: String,
},
Pepita {
vm_id: String,
vsock_cid: u32,
},
Wos {
pid: u32,
},
Native {
pid: u32,
},
}Expand description
Platform-specific handle data.
Variants§
Systemd
Linux systemd unit name.
Launchd
macOS launchd service label.
Container
Container ID.
Fields
Pepita
pepita MicroVM.
Wos
WOS process.
Native
Native process.
Trait Implementations§
Source§impl Clone for HandleData
impl Clone for HandleData
Source§fn clone(&self) -> HandleData
fn clone(&self) -> HandleData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HandleData
impl Debug for HandleData
Source§impl<'de> Deserialize<'de> for HandleData
impl<'de> Deserialize<'de> for HandleData
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 HandleData
impl RefUnwindSafe for HandleData
impl Send for HandleData
impl Sync for HandleData
impl Unpin for HandleData
impl UnwindSafe for HandleData
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