pub struct TimerStats {
pub accuracy_usec: u64,
pub fixed_random_delay: bool,
pub last_trigger_usec: u64,
pub last_trigger_usec_monotonic: u64,
pub next_elapse_usec_monotonic: u64,
pub next_elapse_usec_realtime: u64,
pub persistent: bool,
pub randomized_delay_usec: u64,
pub remain_after_elapse: bool,
pub service_unit_last_state_change_usec: u64,
pub service_unit_last_state_change_usec_monotonic: u64,
}
Expand description
Struct with all the timer specific statistics
Fields§
§accuracy_usec: u64
§fixed_random_delay: bool
§last_trigger_usec: u64
§last_trigger_usec_monotonic: u64
§next_elapse_usec_monotonic: u64
§next_elapse_usec_realtime: u64
§persistent: bool
§randomized_delay_usec: u64
§remain_after_elapse: bool
§service_unit_last_state_change_usec: u64
§service_unit_last_state_change_usec_monotonic: u64
Trait Implementations§
Source§impl Clone for TimerStats
impl Clone for TimerStats
Source§fn clone(&self) -> TimerStats
fn clone(&self) -> TimerStats
Returns a copy 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 TimerStats
impl Debug for TimerStats
Source§impl Default for TimerStats
impl Default for TimerStats
Source§fn default() -> TimerStats
fn default() -> TimerStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimerStats
impl<'de> Deserialize<'de> for TimerStats
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 FieldNamesAsArray<11> for TimerStats
impl FieldNamesAsArray<11> for TimerStats
Source§const FIELD_NAMES_AS_ARRAY: [&'static str; 11]
const FIELD_NAMES_AS_ARRAY: [&'static str; 11]
Generated array of field names for TimerStats
.
Source§impl PartialEq for TimerStats
impl PartialEq for TimerStats
Source§impl Serialize for TimerStats
impl Serialize for TimerStats
impl Eq for TimerStats
impl StructuralPartialEq for TimerStats
Auto Trait Implementations§
impl Freeze for TimerStats
impl RefUnwindSafe for TimerStats
impl Send for TimerStats
impl Sync for TimerStats
impl Unpin for TimerStats
impl UnwindSafe for TimerStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.