pub trait MockProvider: Provider + Clone {
// Required methods
fn reset(&mut self);
fn call_count(&self) -> usize;
}Expand description
Mock provider trait implementation
Required Methods§
Sourcefn call_count(&self) -> usize
fn call_count(&self) -> usize
Get the number of calls
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".