pub enum ReleaseError {
NoCommits {
tag: String,
sha: String,
},
NoBump {
tag: String,
commit_count: usize,
},
Config(String),
Git(String),
Vcs(String),
Changelog(String),
VersionBump(String),
Other(Error),
}Variants§
NoCommits
NoBump
Config(String)
Git(String)
Vcs(String)
Changelog(String)
VersionBump(String)
Other(Error)
Trait Implementations§
Source§impl Debug for ReleaseError
impl Debug for ReleaseError
Source§impl Display for ReleaseError
impl Display for ReleaseError
Source§impl Error for ReleaseError
impl Error for ReleaseError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ReleaseError
impl RefUnwindSafe for ReleaseError
impl Send for ReleaseError
impl Sync for ReleaseError
impl Unpin for ReleaseError
impl UnwindSafe for ReleaseError
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