Add missing pub modifiers to Store impl

This commit is contained in:
Marcel Müller 2016-01-16 20:50:36 +01:00
parent 463c182bcc
commit 313a0f9d7e
No known key found for this signature in database
GPG key ID: DD4ED37D0CAC76E2

View file

@ -92,23 +92,23 @@ pub struct Store {
}
impl Store {
fn create(&self, entry: Entry) -> Result<()> {
pub fn create(&self, entry: Entry) -> Result<()> {
unimplemented!();
}
fn retrieve<'a>(&'a self, id: StoreId) -> Result<FileLockEntry<'a>> {
pub fn retrieve<'a>(&'a self, id: StoreId) -> Result<FileLockEntry<'a>> {
unimplemented!();
}
fn update<'a>(&'a self, entry: FileLockEntry<'a>) -> Result<()> {
pub fn update<'a>(&'a self, entry: FileLockEntry<'a>) -> Result<()> {
unimplemented!();
}
fn retrieve_copy(&self, id: StoreId) -> Result<Entry> {
pub fn retrieve_copy(&self, id: StoreId) -> Result<Entry> {
unimplemented!();
}
fn delete(&self, id: StoreId) -> Result<()> {
pub fn delete(&self, id: StoreId) -> Result<()> {
unimplemented!();
}
}