pub trait CounterClient: PollClient {
// Provided methods
fn create_counter(
&mut self,
location: Location,
) -> ClientResult<'_, CreateCounter, Self> { ... }
fn increment_counter(
&mut self,
id: CounterId,
) -> ClientResult<'_, IncrementCounter, Self> { ... }
}
Expand description
Create counters, increment existing counters.
Provided Methods§
fn create_counter( &mut self, location: Location, ) -> ClientResult<'_, CreateCounter, Self>
fn increment_counter( &mut self, id: CounterId, ) -> ClientResult<'_, IncrementCounter, Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.