pub struct LoadReport {
pub report: Report,
pub files: Vec<(PathBuf, Option<ModelHeader>)>,
pub failed: Vec<PathBuf>,
pub objects_read: usize,
}Expand description
Outcome of loading one or more files.
Fields§
§report: Report§files: Vec<(PathBuf, Option<ModelHeader>)>Files loaded, in order, with the header each carried.
failed: Vec<PathBuf>Files that could not be read, each also reported as CIM0022; an archive entry
appears as archive.zip/entry.xml.
Non-empty means the dataset lacks whatever those files held: a read applies a whole document or nothing.
objects_read: usizeImplementations§
Source§impl LoadReport
impl LoadReport
pub fn has_errors(&self) -> bool
Trait Implementations§
Source§impl Debug for LoadReport
impl Debug for LoadReport
Auto Trait Implementations§
impl Forget for LoadReport
impl Freeze for LoadReportwhere
*const u8 is !null: Freeze,
PhantomData<Diagnostic>: Freeze,
PhantomData<(PathBuf, Option<ModelHeader>)>: Freeze,
PhantomData<PathBuf>: Freeze,
impl Move for LoadReport
impl RefUnwindSafe for LoadReport
impl Send for LoadReport
impl Sync for LoadReport
impl Unpin for LoadReport
impl UnsafeUnpin for LoadReportwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Diagnostic>: UnsafeUnpin,
PhantomData<(PathBuf, Option<ModelHeader>)>: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
impl UnwindSafe for LoadReport
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