pub struct ScanReport {
pub entries: Vec<BootEntry>,
pub failures: Vec<ScanFailure>,
}Expand description
Result of a directory scan — successful boot entries plus any per-file failures that the caller should surface to the user.
Returned by IsoParser::scan_directory_with_failures. Unlike the
legacy IsoParser::scan_directory which silently drops failed
ISOs, this shape preserves the full on-disk inventory so a UI
(e.g. rescue-tui) can render a descriptive row for each broken
ISO instead of hiding it behind a “skipped” count. (#456)
Fields§
§entries: Vec<BootEntry>ISOs that were mounted, parsed, and yielded at least one boot entry.
failures: Vec<ScanFailure>ISOs that were found on disk but could not be processed.
reason is human-readable; kind is structured for tier
decisions downstream.
Trait Implementations§
Source§impl Clone for ScanReport
impl Clone for ScanReport
Source§fn clone(&self) -> ScanReport
fn clone(&self) -> ScanReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ScanReport
impl RefUnwindSafe for ScanReport
impl Send for ScanReport
impl Sync for ScanReport
impl Unpin for ScanReport
impl UnsafeUnpin for ScanReport
impl UnwindSafe for ScanReport
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