[][src]Trait libimagentryannotation::annotateable::Annotateable

pub trait Annotateable {
    fn annotate<'a>(
        &mut self,
        store: &'a Store,
        ann_name: &str
    ) -> Result<FileLockEntry<'a>>;
fn denotate<'a>(
        &mut self,
        store: &'a Store,
        ann_name: &str
    ) -> Result<Option<FileLockEntry<'a>>>;
fn annotations<'a>(&self, store: &'a Store) -> Result<AnnotationIter<'a>>;
fn is_annotation(&self) -> Result<bool>; }

Required methods

fn annotate<'a>(
    &mut self,
    store: &'a Store,
    ann_name: &str
) -> Result<FileLockEntry<'a>>

fn denotate<'a>(
    &mut self,
    store: &'a Store,
    ann_name: &str
) -> Result<Option<FileLockEntry<'a>>>

fn annotations<'a>(&self, store: &'a Store) -> Result<AnnotationIter<'a>>

fn is_annotation(&self) -> Result<bool>

Loading content...

Implementations on Foreign Types

impl Annotateable for Entry[src]

fn annotate<'a>(
    &mut self,
    store: &'a Store,
    ann_name: &str
) -> Result<FileLockEntry<'a>>
[src]

Annotate an entry, returns the new entry which is used to annotate

fn denotate<'a>(
    &mut self,
    store: &'a Store,
    ann_name: &str
) -> Result<Option<FileLockEntry<'a>>>
[src]

Checks the current entry for all annotations and removes the one where the name is ann_name, which is then returned

fn annotations<'a>(&self, store: &'a Store) -> Result<AnnotationIter<'a>>[src]

Get all annotations of an entry

Loading content...

Implementors

Loading content...