[][src]Trait libimagcontact::store::ContactStore

pub trait ContactStore<'a> {
    fn create_from_path(&'a self, p: &PathBuf) -> Result<FileLockEntry<'a>>;
fn retrieve_from_path(&'a self, p: &PathBuf) -> Result<FileLockEntry<'a>>;
fn create_from_buf(&'a self, buf: &str) -> Result<FileLockEntry<'a>>;
fn retrieve_from_buf(&'a self, buf: &str) -> Result<FileLockEntry<'a>>;
fn all_contacts(&'a self) -> Result<StoreIdIterator>; }

Required methods

fn create_from_path(&'a self, p: &PathBuf) -> Result<FileLockEntry<'a>>

fn retrieve_from_path(&'a self, p: &PathBuf) -> Result<FileLockEntry<'a>>

fn create_from_buf(&'a self, buf: &str) -> Result<FileLockEntry<'a>>

fn retrieve_from_buf(&'a self, buf: &str) -> Result<FileLockEntry<'a>>

fn all_contacts(&'a self) -> Result<StoreIdIterator>

Loading content...

Implementations on Foreign Types

impl<'a> ContactStore<'a> for Store[src]

The extension for the Store to work with contacts

fn create_from_buf(&'a self, buf: &str) -> Result<FileLockEntry<'a>>[src]

Create contact ref from buffer

Loading content...

Implementors

Loading content...