Trait cyfs_core::DefaultAppListObj
source · [−]pub trait DefaultAppListObj {
fn create(owner: ObjectId, id: &str) -> Self;
fn id(&self) -> &str;
fn set(&mut self, group: &str, app: DefaultAppInfo);
fn remove(
&mut self,
group: &str,
dec_id: Option<DecAppId>
) -> Option<DefaultAppInfo>;
fn app_list(&self) -> &HashMap<String, DefaultAppInfo>;
fn get(&self, group: &str) -> Option<&DefaultAppInfo>;
fn generate_id(owner: ObjectId, id: &str) -> ObjectId;
}