pub enum PlanValidationError {
UnsupportedSchemaVersion {
expected: u32,
actual: u32,
},
InvalidResolvedPlan {
detail: String,
},
}Expand description
A reason the Kernel rejected a Resolved App Plan before boot.
Variants§
UnsupportedSchemaVersion
The Plan schema cannot be executed by this Kernel version.
InvalidResolvedPlan
The Plan graph is structurally invalid and cannot be booted.
Trait Implementations§
Source§impl Clone for PlanValidationError
impl Clone for PlanValidationError
Source§fn clone(&self) -> PlanValidationError
fn clone(&self) -> PlanValidationError
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 moreSource§impl Debug for PlanValidationError
impl Debug for PlanValidationError
Source§impl Display for PlanValidationError
impl Display for PlanValidationError
impl Eq for PlanValidationError
Source§impl Error for PlanValidationError
impl Error for PlanValidationError
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 PlanValidationError
impl PartialEq for PlanValidationError
impl StructuralPartialEq for PlanValidationError
Auto Trait Implementations§
impl Freeze for PlanValidationError
impl RefUnwindSafe for PlanValidationError
impl Send for PlanValidationError
impl Sync for PlanValidationError
impl Unpin for PlanValidationError
impl UnsafeUnpin for PlanValidationError
impl UnwindSafe for PlanValidationError
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