pub enum PromotionPlanTransformEvidenceError {
SchemaVersionMismatch {
expected: u32,
found: u32,
},
MissingRequiredField {
field: &'static str,
},
InvalidSha256Digest {
field: &'static str,
},
LinkageMismatch {
field: &'static str,
},
Transform(PromotionPlanTransformError),
}Expand description
PromotionPlanTransformEvidenceError
Variants§
SchemaVersionMismatch
MissingRequiredField
InvalidSha256Digest
LinkageMismatch
Transform(PromotionPlanTransformError)
Trait Implementations§
Source§impl Error for PromotionPlanTransformEvidenceError
impl Error for PromotionPlanTransformEvidenceError
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<PromotionPlanTransformError> for PromotionPlanTransformEvidenceError
impl From<PromotionPlanTransformError> for PromotionPlanTransformEvidenceError
Source§fn from(source: PromotionPlanTransformError) -> Self
fn from(source: PromotionPlanTransformError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PromotionPlanTransformEvidenceError
impl RefUnwindSafe for PromotionPlanTransformEvidenceError
impl Send for PromotionPlanTransformEvidenceError
impl Sync for PromotionPlanTransformEvidenceError
impl Unpin for PromotionPlanTransformEvidenceError
impl UnsafeUnpin for PromotionPlanTransformEvidenceError
impl UnwindSafe for PromotionPlanTransformEvidenceError
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