pub struct NoMetricManager {}Expand description
A no-op implementation MetricManager which will provide no metrics on Birth and will do nothing when a CMD message is received.
Implementations§
Trait Implementations§
Source§impl Default for NoMetricManager
impl Default for NoMetricManager
Source§impl DeviceMetricManager for NoMetricManager
impl DeviceMetricManager for NoMetricManager
Source§fn init(&self, _handle: &DeviceHandle)
fn init(&self, _handle: &DeviceHandle)
Initialise the struct. Read more
Source§impl MetricManager for NoMetricManager
impl MetricManager for NoMetricManager
Source§fn initialise_birth(&self, _: &mut BirthInitializer)
fn initialise_birth(&self, _: &mut BirthInitializer)
Initialises the set of metrics to be included in a birth or rebirth message. Read more
Source§impl NodeMetricManager for NoMetricManager
impl NodeMetricManager for NoMetricManager
Source§fn init(&self, _handle: &NodeHandle)
fn init(&self, _handle: &NodeHandle)
Initialise the struct. Read more
Source§fn birth_update_template_registry(
&self,
_template_registry: &mut TemplateRegistry,
)
fn birth_update_template_registry( &self, _template_registry: &mut TemplateRegistry, )
Update the templates registered with the node. Read more
Auto Trait Implementations§
impl Freeze for NoMetricManager
impl RefUnwindSafe for NoMetricManager
impl Send for NoMetricManager
impl Sync for NoMetricManager
impl Unpin for NoMetricManager
impl UnsafeUnpin for NoMetricManager
impl UnwindSafe for NoMetricManager
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