pub struct DaemonProcess {
pub pid: u32,
pub exe_path: String,
pub ipc_endpoint: Option<Endpoint>,
pub started_at_unix_ms: u64,
pub boot_id: String,
pub idle_timeout_secs: Option<u32>,
pub exe_hash_algorithm: String,
pub exe_hash: Vec<u8>,
}Fields§
§pid: u32§exe_path: String§ipc_endpoint: Option<Endpoint>structured (namespace_id, path)
started_at_unix_ms: u64§boot_id: Stringcopy of HostIdentity.boot_id at start
idle_timeout_secs: Option<u32>§exe_hash_algorithm: Stringcurrently “blake3”
exe_hash: Vec<u8>Implementations§
Source§impl DaemonProcess
impl DaemonProcess
Sourcepub fn idle_timeout_secs(&self) -> u32
pub fn idle_timeout_secs(&self) -> u32
Returns the value of idle_timeout_secs, or the default value if idle_timeout_secs is unset.
Trait Implementations§
Source§impl Clone for DaemonProcess
impl Clone for DaemonProcess
Source§fn clone(&self) -> DaemonProcess
fn clone(&self) -> DaemonProcess
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DaemonProcess
impl Debug for DaemonProcess
Source§impl Default for DaemonProcess
impl Default for DaemonProcess
impl Eq for DaemonProcess
Source§impl Hash for DaemonProcess
impl Hash for DaemonProcess
Source§impl Message for DaemonProcess
impl Message for DaemonProcess
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for DaemonProcess
impl PartialEq for DaemonProcess
impl StructuralPartialEq for DaemonProcess
Auto Trait Implementations§
impl Freeze for DaemonProcess
impl RefUnwindSafe for DaemonProcess
impl Send for DaemonProcess
impl Sync for DaemonProcess
impl Unpin for DaemonProcess
impl UnsafeUnpin for DaemonProcess
impl UnwindSafe for DaemonProcess
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