pub enum ManifestParseError {
Invalid(String),
Older(u32),
Newer(u32),
}Expand description
A manifest that could not be accepted.
Variants§
Invalid(String)
Not JSON, or JSON that does not fit the schema.
Older(u32)
A well-formed manifest of an older schema; upgradable, not readable.
Newer(u32)
A well-formed manifest of a newer schema; this binary is too old.
Trait Implementations§
Source§impl Debug for ManifestParseError
impl Debug for ManifestParseError
Source§impl Display for ManifestParseError
impl Display for ManifestParseError
Source§impl Error for ManifestParseError
impl Error for ManifestParseError
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 ManifestParseError
impl RefUnwindSafe for ManifestParseError
impl Send for ManifestParseError
impl Sync for ManifestParseError
impl Unpin for ManifestParseError
impl UnsafeUnpin for ManifestParseError
impl UnwindSafe for ManifestParseError
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