pub trait Directory {
// Required methods
fn names_of(&self, uid: &str) -> Vec<String>;
fn leader_of(&self, uid: &str) -> Option<String>;
}Expand description
What the ledger needs to know of the world besides the task store.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".