pub enum BootstrapError {
Read {
path: PathBuf,
detail: String,
},
EnvelopeBound(&'static str),
InvalidAdjacentName(String),
InvalidManifest(String),
ContentMismatch {
expected: String,
actual: String,
},
OverCapable(String),
Native(String),
}Expand description
Fail-closed bootstrap errors.
Variants§
Read
An exact required adjacent file is absent or unreadable.
EnvelopeBound(&'static str)
A bounded input exceeded its declared ceiling.
InvalidAdjacentName(String)
A descriptor named anything except one adjacent plain filename.
InvalidManifest(String)
Parsed platform metadata was invalid.
ContentMismatch
Artifact content did not match the descriptor identity.
OverCapable(String)
The capsule requested authority outside the supplied policy.
Native(String)
Existing native ABI loading rejected the exact artifact.
Trait Implementations§
Source§impl Debug for BootstrapError
impl Debug for BootstrapError
Source§impl Display for BootstrapError
impl Display for BootstrapError
Source§impl Error for BootstrapError
impl Error for BootstrapError
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 Forget for BootstrapError
impl Freeze for BootstrapError
impl Move for BootstrapError
impl RefUnwindSafe for BootstrapError
impl Send for BootstrapError
impl Sync for BootstrapErrorwhere
RawVecInner: Sync,
impl Unpin for BootstrapError
impl UnsafeUnpin for BootstrapError
impl UnwindSafe for BootstrapError
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