[−][src]Struct augr_core::store::sync_folder_store::SyncFolderStore
Methods
impl SyncFolderStore
[src]
pub fn new(root_folder: PathBuf, device_id: String) -> Self
[src]
pub fn should_init(self, should_init: bool) -> Self
[src]
pub fn get_other_metas(
&self
) -> Result<impl Iterator<Item = Result<Meta, SyncFolderStoreError>>, SyncFolderStoreError>
[src]
&self
) -> Result<impl Iterator<Item = Result<Meta, SyncFolderStoreError>>, SyncFolderStoreError>
Trait Implementations
impl Store for SyncFolderStore
[src]
type Error = SyncFolderStoreError
fn get_meta(&self) -> Result<Meta, Self::Error>
[src]
fn save_meta(&mut self, meta: &Meta) -> Result<(), Self::Error>
[src]
fn get_patch(&self, patch_ref: &PatchRef) -> Result<Patch, Self::Error>
[src]
fn add_patch(&mut self, patch: &Patch) -> Result<(), Self::Error>
[src]
impl Debug for SyncFolderStore
[src]
Auto Trait Implementations
impl Send for SyncFolderStore
impl Unpin for SyncFolderStore
impl Sync for SyncFolderStore
impl UnwindSafe for SyncFolderStore
impl RefUnwindSafe for SyncFolderStore
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,