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>;
}

Required Associated Types§

Required Methods§

source

fn exists(&self, property: Self::Property) -> bool

source

fn empty(&self) -> bool

source

fn rm(&mut self, property: Self::Property) -> Result<Self::Ok, Self::Error>

source

fn add(&mut self, property: Self::Property) -> Result<Self::Ok, Self::Error>

Implementors§