#[non_exhaustive]pub enum VcsName {
Git,
Jj,
}Expand description
The name of a version control system.
Used in error messages and for identifying which VCS is in use.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
impl Copy for VcsName
impl Eq for VcsName
impl StructuralPartialEq for VcsName
Auto Trait Implementations§
impl Freeze for VcsName
impl RefUnwindSafe for VcsName
impl Send for VcsName
impl Sync for VcsName
impl Unpin for VcsName
impl UnsafeUnpin for VcsName
impl UnwindSafe for VcsName
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