pub enum GitEngine {
ReadOnly,
ReadWrite,
Disabled,
}Expand description
Selects how repository operations are performed.
Variants§
ReadOnly
Opens the repository but rejects mutations.
ReadWrite
Opens the repository and permits mutations.
Disabled
Does not open the repository or calculate Git-derived values.
Trait Implementations§
impl Copy for GitEngine
impl Eq for GitEngine
impl StructuralPartialEq for GitEngine
Auto Trait Implementations§
impl Freeze for GitEngine
impl RefUnwindSafe for GitEngine
impl Send for GitEngine
impl Sync for GitEngine
impl Unpin for GitEngine
impl UnsafeUnpin for GitEngine
impl UnwindSafe for GitEngine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more