Management

Trait Management 

Source
pub trait Management: Send + Sync {
    // Required methods
    fn is_controller(&self, caller: &Principal) -> bool;
    fn is_manager(&self, caller: &Principal) -> bool;
    fn check_visibility(
        &self,
        caller: &Principal,
    ) -> Result<Visibility, BoxError>;
}

Required Methods§

Source

fn is_controller(&self, caller: &Principal) -> bool

Source

fn is_manager(&self, caller: &Principal) -> bool

Source

fn check_visibility(&self, caller: &Principal) -> Result<Visibility, BoxError>

Implementors§