pub trait Manager<H> {
// Required methods
fn trait_type(&self) -> String;
fn get(&self, id: &Uuid) -> Option<H>;
fn remove(&self, id: &Uuid) -> Option<H>;
fn get_handles(&self) -> BTreeMap<Uuid, H>;
}Required Methods§
fn trait_type(&self) -> String
fn get(&self, id: &Uuid) -> Option<H>
fn remove(&self, id: &Uuid) -> Option<H>
fn get_handles(&self) -> BTreeMap<Uuid, H>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".