Skip to main content

NamespaceAuthority

Trait NamespaceAuthority 

Source
pub trait NamespaceAuthority {
    // Required method
    fn owns(&self, key: &StableKey) -> bool;
}
Expand description

NamespaceAuthority

Policy-owned stable-key namespace ownership.

Required Methods§

Source

fn owns(&self, key: &StableKey) -> bool

Return true when this authority owns key.

Implementors§