pub(crate) enum SemverError {
Spawn(Error),
Failed {
code: i32,
stderr: String,
},
MissingSummary {
stderr: String,
},
Signaled {
stderr: String,
},
}Expand description
A cargo semver-checks invocation failure distinct from a reported API
break.
Variants§
Spawn(Error)
The tool could not be started.
Failed
The tool exited with a code other than success or “breaking”.
MissingSummary
The tool reported an API break without a recognizable summary line.
Signaled
The tool was killed by a signal.
Trait Implementations§
Source§impl Debug for SemverError
impl Debug for SemverError
Source§impl Display for SemverError
impl Display for SemverError
Source§impl Error for SemverError
impl Error for SemverError
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<SemverError> for CargoError
impl From<SemverError> for CargoError
Source§fn from(source: SemverError) -> Self
fn from(source: SemverError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SemverError
impl !UnwindSafe for SemverError
impl Freeze for SemverError
impl Send for SemverError
impl Sync for SemverError
impl Unpin for SemverError
impl UnsafeUnpin for SemverError
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