pub enum ReleasePreparationError {
Show 14 variants
NoGitRepo,
UncommittedChanges,
InvalidBranchNameSetting,
InvalidTagNameSetting,
NoVersionFile,
VersionDecrement,
NoVersionIncrement,
BranchAlreadyExists,
UserNotConfigured,
DetachedHead,
InvalidVersionIncrementSetting,
GitCommandFailed,
GitOperationFailed,
VersionFileError,
}Expand description
Classifies failures that can occur while preparing a release.
Variants§
NoGitRepo
The project directory is not in a Git repository.
UncommittedChanges
The index or working tree contains changes.
InvalidBranchNameSetting
The release branch template is invalid.
InvalidTagNameSetting
The release tag template is invalid.
NoVersionFile
No applicable version file was found.
VersionDecrement
A requested version is older than the current version.
NoVersionIncrement
The development version would not increment.
BranchAlreadyExists
The release branch already exists.
UserNotConfigured
Git user name or email is not configured.
DetachedHead
HEAD is detached.
InvalidVersionIncrementSetting
The selected increment cannot be applied to the current version.
GitCommandFailed
The Git executable required for signing failed.
GitOperationFailed
An in-process libgit2 operation failed.
VersionFileError
A version file could not be read or written.
Trait Implementations§
Source§impl Clone for ReleasePreparationError
impl Clone for ReleasePreparationError
impl Copy for ReleasePreparationError
Source§impl Debug for ReleasePreparationError
impl Debug for ReleasePreparationError
impl Eq for ReleasePreparationError
Source§impl PartialEq for ReleasePreparationError
impl PartialEq for ReleasePreparationError
impl StructuralPartialEq for ReleasePreparationError
Auto Trait Implementations§
impl Freeze for ReleasePreparationError
impl RefUnwindSafe for ReleasePreparationError
impl Send for ReleasePreparationError
impl Sync for ReleasePreparationError
impl Unpin for ReleasePreparationError
impl UnsafeUnpin for ReleasePreparationError
impl UnwindSafe for ReleasePreparationError
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