[][src]Struct metrix::processor::ProcessorMount

pub struct ProcessorMount { /* fields omitted */ }

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]

impl Default for ProcessorMount[src]

impl Descriptive for ProcessorMount[src]

impl ProcessesTelemetryMessages for ProcessorMount[src]

impl PutsSnapshot for ProcessorMount[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,