Skip to main content

Manager

Trait Manager 

Source
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§

Source

fn trait_type(&self) -> String

Source

fn get(&self, id: &Uuid) -> Option<H>

Source

fn remove(&self, id: &Uuid) -> Option<H>

Source

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".

Implementors§