Skip to main content

NoteStore

Trait NoteStore 

Source
pub trait NoteStore: Storage {
    // Required methods
    fn store_note(&self, note: &Note) -> Result<(), Self::Error>;
    fn load_note(&self, note_id: &Iri) -> Result<Option<Note>, Self::Error>;
}

Required Methods§

Source

fn store_note(&self, note: &Note) -> Result<(), Self::Error>

Source

fn load_note(&self, note_id: &Iri) -> Result<Option<Note>, Self::Error>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§