Trait msg_store::Keeper [−][src]
pub trait Keeper {
fn add(&mut self, package: &Package) -> Result<(), DbError>;
fn get(&mut self, uuid: &Uuid) -> Result<Option<String>, DbError>;
fn del(&mut self, uuid: &Uuid) -> Result<(), DbError>;
fn fetch(&mut self) -> Result<Vec<PacketMetaData>, DbError>;
}
Expand description
This trait is used to create a database plugin for a store