pub enum PlanInputError {
SemanticsVersion {
line: &'static str,
value: String,
},
DefinitionRevision {
value: String,
},
LoweringCapability {
value: String,
},
PlanEncoding(Error),
}Expand description
Why a plan input could not be built from its recorded form.
Variants§
SemanticsVersion
A semantics value is not a version of the line that owns it. A content digest is the usual case: it is not a version.
DefinitionRevision
A definition revision is not the digest of a definition.
LoweringCapability
A lowering capability is not a namespaced tag.
PlanEncoding(Error)
The canonical plan encoding could not be produced or read.
Trait Implementations§
Source§impl Debug for PlanInputError
impl Debug for PlanInputError
Source§impl Display for PlanInputError
impl Display for PlanInputError
Source§impl Error for PlanInputError
impl Error for PlanInputError
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<PlanInputError> for PlanMismatch
impl From<PlanInputError> for PlanMismatch
Source§fn from(error: PlanInputError) -> PlanMismatch
fn from(error: PlanInputError) -> PlanMismatch
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for PlanInputError
impl !UnwindSafe for PlanInputError
impl Forget for PlanInputError
impl Freeze for PlanInputError
impl Move for PlanInputError
impl Send for PlanInputError
impl Sync for PlanInputError
impl Unpin for PlanInputError
impl UnsafeUnpin for PlanInputError
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