Enum infinitree::tree::CommitMode
source · [−]pub enum CommitMode {
Always,
OnlyOnChange,
}
Expand description
Allows changing commit behaviour.
Variants
Always
Always create a new commit even if it’s empty.
OnlyOnChange
Only create a new commit when there are changes to the index.
Auto Trait Implementations
impl RefUnwindSafe for CommitMode
impl Send for CommitMode
impl Sync for CommitMode
impl Unpin for CommitMode
impl UnwindSafe for CommitMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more