pub struct UnitDiscovery {
pub timer_names: Vec<String>,
pub reload_count: Option<u64>,
}Expand description
What the units pass learned from the metrics stream that the detail pass needs next.
Fields§
§timer_names: Vec<String>Every timer unit, sorted.
reload_count: Option<u64>io.systemd.Manager.ReloadCount, which invalidates cached oneshot types.
Trait Implementations§
Source§impl Clone for UnitDiscovery
impl Clone for UnitDiscovery
Source§fn clone(&self) -> UnitDiscovery
fn clone(&self) -> UnitDiscovery
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 UnitDiscovery
impl Debug for UnitDiscovery
Source§impl Default for UnitDiscovery
impl Default for UnitDiscovery
Source§fn default() -> UnitDiscovery
fn default() -> UnitDiscovery
Returns the “default value” for a type. Read more
Source§impl PartialEq for UnitDiscovery
impl PartialEq for UnitDiscovery
Source§fn eq(&self, other: &UnitDiscovery) -> bool
fn eq(&self, other: &UnitDiscovery) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UnitDiscovery
Auto Trait Implementations§
impl Freeze for UnitDiscovery
impl RefUnwindSafe for UnitDiscovery
impl Send for UnitDiscovery
impl Sync for UnitDiscovery
impl Unpin for UnitDiscovery
impl UnsafeUnpin for UnitDiscovery
impl UnwindSafe for UnitDiscovery
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<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.