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