pub enum BuildPlanError {
Json(String),
UnsupportedSchemaVersion {
found: u32,
supported: u32,
},
}Expand description
Why a build-plan JSON could not be consumed.
Variants§
Json(String)
The document failed JSON deserialization; holds the parse error text.
UnsupportedSchemaVersion
The plan’s schemaVersion differs from the version this CLI consumes.
Trait Implementations§
Source§impl Debug for BuildPlanError
impl Debug for BuildPlanError
Source§impl Display for BuildPlanError
impl Display for BuildPlanError
Source§impl Error for BuildPlanError
impl Error for BuildPlanError
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 BuildPlanError
impl RefUnwindSafe for BuildPlanError
impl Send for BuildPlanError
impl Sync for BuildPlanError
impl Unpin for BuildPlanError
impl UnsafeUnpin for BuildPlanError
impl UnwindSafe for BuildPlanError
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