Struct solana_metrics::metrics::test_mocks::MockMetricsWriter
source · Fields
points_written: Arc<Mutex<Vec<DataPoint>>>
Implementations
sourceimpl MockMetricsWriter
impl MockMetricsWriter
pub fn new() -> Self
pub fn points_written(&self) -> usize
Trait Implementations
sourceimpl Default for MockMetricsWriter
impl Default for MockMetricsWriter
sourceimpl MetricsWriter for MockMetricsWriter
impl MetricsWriter for MockMetricsWriter
Auto Trait Implementations
impl RefUnwindSafe for MockMetricsWriter
impl Send for MockMetricsWriter
impl Sync for MockMetricsWriter
impl Unpin for MockMetricsWriter
impl UnwindSafe for MockMetricsWriter
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more