pub enum ReleaseError {
Manifest(CargoManifestError),
Version(VersionError),
}Expand description
Errors that can occur while producing a release report.
Variants§
Manifest(CargoManifestError)
Version(VersionError)
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()
Source§impl From<CargoManifestError> for ReleaseError
impl From<CargoManifestError> for ReleaseError
Source§fn from(error: CargoManifestError) -> Self
fn from(error: CargoManifestError) -> Self
Converts to this type from the input type.
Source§impl From<VersionError> for ReleaseError
impl From<VersionError> for ReleaseError
Source§fn from(error: VersionError) -> Self
fn from(error: VersionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReleaseError
impl !RefUnwindSafe for ReleaseError
impl Send for ReleaseError
impl Sync for ReleaseError
impl Unpin for ReleaseError
impl UnsafeUnpin 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