pub trait LinkOwners {
// Required methods
fn owner_of(&self, id: &str) -> Option<String>;
fn retired(&self, id: &str) -> bool;
}Expand description
What the store knows of link ids, besides this entry’s own.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl LinkOwners for Store
The store as the one that knows which entry holds an id. A store that cannot answer is taken to hold the id, so an id is never given away on a failed read.