pub enum ReleasePackageError {
LocalVersion(GetLocalVersionError),
RemoteVersions(GetCrateVersionsError),
Publish(RunCommandError),
Git(RunCommandError),
}Expand description
Error returned by auto_release_package.
Variants§
LocalVersion(GetLocalVersionError)
Failed to get the local version.
RemoteVersions(GetCrateVersionsError)
Failed to get the published versions of the crate.
Publish(RunCommandError)
Failed to publish the crate.
Git(RunCommandError)
Failed to create or push the git tag.
Trait Implementations§
Source§impl Debug for ReleasePackageError
impl Debug for ReleasePackageError
Source§impl Display for ReleasePackageError
impl Display for ReleasePackageError
Source§impl Error for ReleasePackageError
impl Error for ReleasePackageError
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 ReleasePackageError
impl !RefUnwindSafe for ReleasePackageError
impl Send for ReleasePackageError
impl Sync for ReleasePackageError
impl Unpin for ReleasePackageError
impl !UnwindSafe for ReleasePackageError
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