[−][src]Trait libimagwiki::store::WikiStore
Required methods
fn get_wiki<'a, 'b>(&'a self, name: &'b str) -> Result<Option<Wiki<'a, 'b>>>
fn create_wiki<'a, 'b>(
&'a self,
name: &'b str
) -> Result<(Wiki<'a, 'b>, FileLockEntry<'a>)>
&'a self,
name: &'b str
) -> Result<(Wiki<'a, 'b>, FileLockEntry<'a>)>
fn retrieve_wiki<'a, 'b>(
&'a self,
name: &'b str
) -> Result<(Wiki<'a, 'b>, FileLockEntry<'a>)>
&'a self,
name: &'b str
) -> Result<(Wiki<'a, 'b>, FileLockEntry<'a>)>
Implementations on Foreign Types
impl WikiStore for Store
[src]
fn get_wiki<'a, 'b>(&'a self, name: &'b str) -> Result<Option<Wiki<'a, 'b>>>
[src]
get a wiki by its name
fn create_wiki<'a, 'b>(
&'a self,
name: &'b str
) -> Result<(Wiki<'a, 'b>, FileLockEntry<'a>)>
[src]
&'a self,
name: &'b str
) -> Result<(Wiki<'a, 'b>, FileLockEntry<'a>)>
Create a wiki.
Returns
Returns the Wiki object.
Ob success, an empty Wiki entry with the name index
is created inside the wiki. Later, new
entries are automatically linked to this entry.
fn retrieve_wiki<'a, 'b>(
&'a self,
name: &'b str
) -> Result<(Wiki<'a, 'b>, FileLockEntry<'a>)>
[src]
&'a self,
name: &'b str
) -> Result<(Wiki<'a, 'b>, FileLockEntry<'a>)>