pub struct AgentCommandRoot {
pub pid: u32,
pub start_time_ms: u64,
}Expand description
A command’s PID and kernel start time in milliseconds since the Unix epoch.
Obtain the time through subc_os::process_start_time_ms, not a wall clock.
Fields§
§pid: u32§start_time_ms: u64Trait Implementations§
Source§impl Clone for AgentCommandRoot
impl Clone for AgentCommandRoot
Source§fn clone(&self) -> AgentCommandRoot
fn clone(&self) -> AgentCommandRoot
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 moreimpl Copy for AgentCommandRoot
Source§impl Debug for AgentCommandRoot
impl Debug for AgentCommandRoot
Source§impl<'de> Deserialize<'de> for AgentCommandRoot
impl<'de> Deserialize<'de> for AgentCommandRoot
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AgentCommandRoot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AgentCommandRoot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AgentCommandRoot
Source§impl Ord for AgentCommandRoot
impl Ord for AgentCommandRoot
Source§fn cmp(&self, other: &AgentCommandRoot) -> Ordering
fn cmp(&self, other: &AgentCommandRoot) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AgentCommandRoot
impl PartialEq for AgentCommandRoot
Source§impl PartialOrd for AgentCommandRoot
impl PartialOrd for AgentCommandRoot
Source§impl Serialize for AgentCommandRoot
impl Serialize for AgentCommandRoot
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for AgentCommandRoot
Auto Trait Implementations§
impl Forget for AgentCommandRoot
impl Freeze for AgentCommandRoot
impl Move for AgentCommandRoot
impl RefUnwindSafe for AgentCommandRoot
impl Send for AgentCommandRoot
impl Sync for AgentCommandRoot
impl Unpin for AgentCommandRoot
impl UnsafeUnpin for AgentCommandRoot
impl UnwindSafe for AgentCommandRoot
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