pub struct BumpError {
pub version: String,
pub reason: String,
}Expand description
Why a manifest version could not be bumped: it is not a strict X.Y.Z semver
core, so the engine will not guess a new number (fail closed).
Fields§
§version: StringThe offending version string, echoed for the CLI’s invalid_value.
reason: StringWhy it was rejected (human-readable), e.g. “expected MAJOR.MINOR.PATCH”.
Trait Implementations§
impl Eq for BumpError
impl StructuralPartialEq for BumpError
Auto Trait Implementations§
impl Freeze for BumpError
impl RefUnwindSafe for BumpError
impl Send for BumpError
impl Sync for BumpError
impl Unpin for BumpError
impl UnsafeUnpin for BumpError
impl UnwindSafe for BumpError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.