[][src]Struct augr_core::repository::Repository

pub struct Repository<S: Store> { /* fields omitted */ }

Methods

impl<S> Repository<S> where
    S: Store,
    <S as Store>::Error: 'static, 
[src]

pub fn from_store(store: S) -> Result<Self, Vec<Error<S::Error>>>[src]

pub fn save_meta(&mut self) -> Result<(), Error<S::Error>>[src]

pub fn add_patch(&mut self, patch: Patch) -> Result<(), Error<S::Error>>[src]

pub fn load_patch(&mut self, patch: Patch) -> Result<(), Error<S::Error>>[src]

pub fn timesheet(&self) -> &PatchedTimesheet[src]

impl Repository<SyncFolderStore>[src]

Trait Implementations

impl<S: Debug + Store> Debug for Repository<S>[src]

Auto Trait Implementations

impl<S> Send for Repository<S> where
    S: Send

impl<S> Unpin for Repository<S> where
    S: Unpin

impl<S> Sync for Repository<S> where
    S: Sync

impl<S> UnwindSafe for Repository<S> where
    S: UnwindSafe

impl<S> RefUnwindSafe for Repository<S> where
    S: RefUnwindSafe

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]