Trait medea_client_api_proto::Incrementable

source ·
pub trait Incrementable {
    // Required method
    fn incr(&self) -> Self;
}
Expand description

Value that is able to be incremented by 1.

Required Methods§

source

fn incr(&self) -> Self

Returns current value + 1.

Object Safety§

This trait is not object safe.

Implementors§