pub enum ReleaseError {
BadSignature,
InvalidManifest(String),
UnsupportedSchema(u32),
WrongChannel {
expected: String,
found: String,
},
MissingTarget(String),
NotYetValid,
Expired,
ExcessiveLifetime,
Rollback {
floor: Version,
found: Version,
},
Persistence(String),
}Expand description
Why a manifest was refused. Displays as a user-facing message.
Variants§
BadSignature
InvalidManifest(String)
UnsupportedSchema(u32)
WrongChannel
MissingTarget(String)
NotYetValid
Expired
ExcessiveLifetime
Rollback
Persistence(String)
Trait Implementations§
Source§impl Clone for ReleaseError
impl Clone for ReleaseError
Source§impl Debug for ReleaseError
impl Debug for ReleaseError
Source§impl Display for ReleaseError
impl Display for ReleaseError
impl Eq for ReleaseError
Source§impl Error for ReleaseError
impl Error for ReleaseError
1.30.0 · 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 PartialEq for ReleaseError
impl PartialEq for ReleaseError
impl StructuralPartialEq for ReleaseError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.