pub struct DaemonInfo {
pub hostname: String,
pub pid: pid_t,
pub physical_cores: usize,
pub logical_cpus: usize,
pub restart_time: Duration,
}Fields§
§hostname: String§pid: pid_t§physical_cores: usize§logical_cpus: usize§restart_time: DurationTrait Implementations§
Source§impl Clone for DaemonInfo
impl Clone for DaemonInfo
Source§fn clone(&self) -> DaemonInfo
fn clone(&self) -> DaemonInfo
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 DaemonInfo
impl Debug for DaemonInfo
Source§impl<'de> Deserialize<'de> for DaemonInfo
impl<'de> Deserialize<'de> for DaemonInfo
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
Source§impl Hash for DaemonInfo
impl Hash for DaemonInfo
Source§impl Ord for DaemonInfo
impl Ord for DaemonInfo
Source§fn cmp(&self, other: &DaemonInfo) -> Ordering
fn cmp(&self, other: &DaemonInfo) -> Ordering
1.21.0 · 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
Source§impl PartialEq for DaemonInfo
impl PartialEq for DaemonInfo
Source§impl PartialOrd for DaemonInfo
impl PartialOrd for DaemonInfo
Source§impl Serialize for DaemonInfo
impl Serialize for DaemonInfo
impl Eq for DaemonInfo
impl StructuralPartialEq for DaemonInfo
Auto Trait Implementations§
impl Freeze for DaemonInfo
impl RefUnwindSafe for DaemonInfo
impl Send for DaemonInfo
impl Sync for DaemonInfo
impl Unpin for DaemonInfo
impl UnwindSafe for DaemonInfo
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