pub trait ProjectDirectory: Send + Sync {
// Required method
fn bound_node(&self, project_id: &str) -> Option<String>;
}Expand description
Which node a project’s key is bound to, from the identity records.
Required Methods§
Sourcefn bound_node(&self, project_id: &str) -> Option<String>
fn bound_node(&self, project_id: &str) -> Option<String>
Node id of the key currently bound to project_id; None when the
project is unregistered or every key of it is revoked.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".