pub enum PlanErrorCode {
Show 14 variants
BasePlanInvalid,
SchemaMismatch,
InvalidPlan,
EvidenceMalformed,
EvidenceMissing,
EvidenceInvalid,
EvidenceTooLarge,
PlanTooLarge,
UnsafePath,
OperationConflict,
ExtensionConflict,
UnsafeNumber,
JsonEncoding,
NotTextOnly,
}Expand description
Stable categories for refactor-plan profile failures.
Variants§
BasePlanInvalid
SchemaMismatch
InvalidPlan
EvidenceMalformed
EvidenceMissing
EvidenceInvalid
EvidenceTooLarge
PlanTooLarge
UnsafePath
OperationConflict
ExtensionConflict
UnsafeNumber
JsonEncoding
NotTextOnly
Implementations§
Trait Implementations§
Source§impl Clone for PlanErrorCode
impl Clone for PlanErrorCode
Source§fn clone(&self) -> PlanErrorCode
fn clone(&self) -> PlanErrorCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PlanErrorCode
Source§impl Debug for PlanErrorCode
impl Debug for PlanErrorCode
Source§impl<'de> Deserialize<'de> for PlanErrorCode
impl<'de> Deserialize<'de> for PlanErrorCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PlanErrorCode
impl Display for PlanErrorCode
impl Eq for PlanErrorCode
Source§impl Hash for PlanErrorCode
impl Hash for PlanErrorCode
Source§impl PartialEq for PlanErrorCode
impl PartialEq for PlanErrorCode
Source§impl Serialize for PlanErrorCode
impl Serialize for PlanErrorCode
impl StructuralPartialEq for PlanErrorCode
Auto Trait Implementations§
impl Freeze for PlanErrorCode
impl RefUnwindSafe for PlanErrorCode
impl Send for PlanErrorCode
impl Sync for PlanErrorCode
impl Unpin for PlanErrorCode
impl UnsafeUnpin for PlanErrorCode
impl UnwindSafe for PlanErrorCode
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