[][src]Trait libimagnotes::notestore::NoteStore

pub trait NoteStore<'a> {
    fn new_note(
        &'a self,
        name: String,
        text: String
    ) -> Result<FileLockEntry<'a>>;
fn delete_note(&'a self, name: String) -> Result<()>;
fn retrieve_note(&'a self, name: String) -> Result<FileLockEntry<'a>>;
fn get_note(&'a self, name: String) -> Result<Option<FileLockEntry<'a>>>;
fn all_notes(&'a self) -> Result<NoteIterator>; }

Required methods

fn new_note(&'a self, name: String, text: String) -> Result<FileLockEntry<'a>>

fn delete_note(&'a self, name: String) -> Result<()>

fn retrieve_note(&'a self, name: String) -> Result<FileLockEntry<'a>>

fn get_note(&'a self, name: String) -> Result<Option<FileLockEntry<'a>>>

fn all_notes(&'a self) -> Result<NoteIterator>

Loading content...

Implementations on Foreign Types

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

Loading content...

Implementors

Loading content...