pub enum ExportEnvelopeError {
InvalidEnvelope {
reason: String,
},
IncompatibleVersion {
expected: String,
actual: String,
},
DigestMismatch {
expected: String,
actual: String,
},
DigestComputationFailed {
reason: String,
},
}Expand description
Errors produced by Forge export schema validation.
Variants§
InvalidEnvelope
The export envelope is structurally invalid.
IncompatibleVersion
Schema version mismatch.
DigestMismatch
Content digest does not match computed value.
DigestComputationFailed
Failed to compute content digest.
Implementations§
Trait Implementations§
Source§impl Debug for ExportEnvelopeError
impl Debug for ExportEnvelopeError
Source§impl Display for ExportEnvelopeError
impl Display for ExportEnvelopeError
Source§impl Error for ExportEnvelopeError
impl Error for ExportEnvelopeError
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()
Auto Trait Implementations§
impl Freeze for ExportEnvelopeError
impl RefUnwindSafe for ExportEnvelopeError
impl Send for ExportEnvelopeError
impl Sync for ExportEnvelopeError
impl Unpin for ExportEnvelopeError
impl UnsafeUnpin for ExportEnvelopeError
impl UnwindSafe for ExportEnvelopeError
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