Struct massa_metrics::MetricsStopper
source · pub struct MetricsStopper {
pub(crate) stopper: Option<Sender<()>>,
pub(crate) stop_handle: Option<JoinHandle<()>>,
}
Fields§
§stopper: Option<Sender<()>>
§stop_handle: Option<JoinHandle<()>>
Implementations§
Trait Implementations§
source§impl Default for MetricsStopper
impl Default for MetricsStopper
source§fn default() -> MetricsStopper
fn default() -> MetricsStopper
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MetricsStopper
impl !RefUnwindSafe for MetricsStopper
impl Send for MetricsStopper
impl Sync for MetricsStopper
impl Unpin for MetricsStopper
impl !UnwindSafe for MetricsStopper
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