Trait gear_common::storage::Limiter
source · pub trait Limiter {
type Value;
// Required methods
fn decrease(value: Self::Value);
fn get() -> Self::Value;
fn put(value: Self::Value);
}
Expand description
Represents logic of limiting value decreasing.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.