Trait cfg_traits::Properties
source · pub trait Properties {
type Property;
type Error;
type Ok;
// Required methods
fn exists(&self, property: Self::Property) -> bool;
fn empty(&self) -> bool;
fn rm(&mut self, property: Self::Property) -> Result<Self::Ok, Self::Error>;
fn add(&mut self, property: Self::Property) -> Result<Self::Ok, Self::Error>;
}