Trait gear_common::storage::Toggler
source · pub trait Toggler {
// Required methods
fn allow();
fn allowed() -> bool;
fn deny();
// Provided method
fn denied() -> bool { ... }
}
Expand description
Represents logic of providing access for some actions.
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.