pub struct MockMetricEventLoggerFactory { /* private fields */ }Implementations§
Source§impl MockMetricEventLoggerFactory
impl MockMetricEventLoggerFactory
pub fn new() -> Self
pub fn with_id(id: u32) -> Self
pub fn clone_loggers(&self) -> Vec<Arc<MockMetricEventLogger>>
pub async fn run_logger_factory( self: Arc<Self>, stream: MetricEventLoggerFactoryRequestStream, )
pub async fn wait_for_at_least_n_events_with_metric_id( &self, n: usize, id: u32, ) -> Vec<MetricEvent>
Auto Trait Implementations§
impl !Freeze for MockMetricEventLoggerFactory
impl !RefUnwindSafe for MockMetricEventLoggerFactory
impl Send for MockMetricEventLoggerFactory
impl Sync for MockMetricEventLoggerFactory
impl Unpin for MockMetricEventLoggerFactory
impl UnsafeUnpin for MockMetricEventLoggerFactory
impl !UnwindSafe for MockMetricEventLoggerFactory
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