Trait libimagentryannotation::annotateable::Annotateable
[−]
[src]
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>>
&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>>>
&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>
Implementations on Foreign Types
impl Annotateable for Entry
[src]
fn annotate<'a>(
&mut self,
store: &'a Store,
ann_name: &str
) -> Result<FileLockEntry<'a>>
[src]
&mut self,
store: &'a Store,
ann_name: &str
) -> Result<FileLockEntry<'a>>
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]
&mut self,
store: &'a Store,
ann_name: &str
) -> Result<Option<FileLockEntry<'a>>>
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