[−][src]Struct metrix::processor::ProcessorMount
A building block for grouping
Methods
impl ProcessorMount
[src]
pub fn new<T: Into<String>>(name: T) -> ProcessorMount
[src]
Creates a new instance.
Even though a name is optional having one is the default since this struct is mostly used to group other components.
pub fn name(&self) -> Option<&str>
[src]
Returns the name
pub fn set_name<T: Into<String>>(&mut self, name: T)
[src]
Sets the name of this ProcessorMount
pub fn set_inactivity_limit(&mut self, limit: Duration)
[src]
Sets the maximum amount of time this processor may be inactive until no more snapshots are taken
pub fn processors(&self) -> Vec<&dyn ProcessesTelemetryMessages>
[src]
Returns the processors in this ProcessorMount
pub fn snapshooters(&self) -> Vec<&dyn PutsSnapshot>
[src]
Returns the snapshooters of this ProcessorMount
Trait Implementations
impl AggregatesProcessors for ProcessorMount
[src]
fn add_processor<P: ProcessesTelemetryMessages>(&mut self, processor: P)
[src]
fn add_snapshooter<S: PutsSnapshot>(&mut self, snapshooter: S)
[src]
impl Default for ProcessorMount
[src]
fn default() -> ProcessorMount
[src]
impl Descriptive for ProcessorMount
[src]
impl ProcessesTelemetryMessages for ProcessorMount
[src]
fn process(
&mut self,
max: usize,
strategy: ProcessingStrategy
) -> ProcessingOutcome
[src]
&mut self,
max: usize,
strategy: ProcessingStrategy
) -> ProcessingOutcome
impl PutsSnapshot for ProcessorMount
[src]
fn put_snapshot(&self, into: &mut Snapshot, descriptive: bool)
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ProcessorMount
impl Send for ProcessorMount
impl !Sync for ProcessorMount
impl Unpin for ProcessorMount
impl !UnwindSafe for ProcessorMount
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,