pub trait ControllerPolicy: Send + Sync {
// Required method
fn allows(&self, public_key: &[u8; 32]) -> bool;
}Expand description
Who may control this node: a set of controller public keys.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".