pub trait Counterstore {
    const DEFAULT_START_AT: u128;

    fn create_starting_at(
        &mut self,
        location: Location,
        starting_at: impl Into<Counter>
    ) -> Result<CounterId>;
fn increment(&mut self, id: CounterId) -> Result<u128>; fn create(&mut self, location: Location) -> Result<CounterId> { ... } }
Expand description

Trait intended for use by mechanism implementations.

Associated Constants

Required methods

Provided methods

Implementors