pub struct LeanLoaderReport { /* private fields */ }Expand description
Structured result of loader preflight for one capability manifest.
Implementations§
Source§impl LeanLoaderReport
impl LeanLoaderReport
Sourcepub fn manifest_path(&self) -> Option<&Path>
pub fn manifest_path(&self) -> Option<&Path>
Manifest path checked, if the descriptor resolved one.
Sourcepub fn checks(&self) -> &[LeanLoaderCheck]
pub fn checks(&self) -> &[LeanLoaderCheck]
All preflight findings.
Sourcepub fn errors(&self) -> impl Iterator<Item = &LeanLoaderCheck>
pub fn errors(&self) -> impl Iterator<Item = &LeanLoaderCheck>
Blocking findings only.
Sourcepub fn first_error(&self) -> Option<&LeanLoaderCheck>
pub fn first_error(&self) -> Option<&LeanLoaderCheck>
First blocking finding, if any.
Trait Implementations§
Source§impl Clone for LeanLoaderReport
impl Clone for LeanLoaderReport
Source§fn clone(&self) -> LeanLoaderReport
fn clone(&self) -> LeanLoaderReport
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 LeanLoaderReport
impl Debug for LeanLoaderReport
Source§impl PartialEq for LeanLoaderReport
impl PartialEq for LeanLoaderReport
Source§fn eq(&self, other: &LeanLoaderReport) -> bool
fn eq(&self, other: &LeanLoaderReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LeanLoaderReport
impl StructuralPartialEq for LeanLoaderReport
Auto Trait Implementations§
impl Freeze for LeanLoaderReport
impl RefUnwindSafe for LeanLoaderReport
impl Send for LeanLoaderReport
impl Sync for LeanLoaderReport
impl Unpin for LeanLoaderReport
impl UnsafeUnpin for LeanLoaderReport
impl UnwindSafe for LeanLoaderReport
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