Trait AppLocalListObj

Source
pub trait AppLocalListObj {
    // Required methods
    fn insert(&mut self, id: DecAppId);
    fn create(owner: ObjectId, id: &str) -> Self;
    fn remove(&mut self, id: &DecAppId);
    fn clear(&mut self);
    fn app_list(&self) -> &HashSet<DecAppId>;
    fn id(&self) -> &str;
    fn exists(&self, id: &DecAppId) -> bool;
}

Required Methods§

Source

fn insert(&mut self, id: DecAppId)

Source

fn create(owner: ObjectId, id: &str) -> Self

Source

fn remove(&mut self, id: &DecAppId)

Source

fn clear(&mut self)

Source

fn app_list(&self) -> &HashSet<DecAppId>

Source

fn id(&self) -> &str

Source

fn exists(&self, id: &DecAppId) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§