#[non_exhaustive]pub struct LoadReport {
pub written: usize,
pub written_on_retry: usize,
pub failures: Vec<LoadFailure>,
pub warnings: Vec<String>,
}Expand description
What NodeMap::load_configuration did.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.written: usizeValues written.
written_on_retry: usizeOf LoadReport::written, those written only on the second pass,
once the values they depend on were in place.
failures: Vec<LoadFailure>Values that could not be written, each with its reason.
warnings: Vec<String>Doubts about the configuration as a whole: saved from another camera model, or from another version of its XML.
Implementations§
Source§impl LoadReport
impl LoadReport
Sourcepub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
Whether every value was written.
Trait Implementations§
Source§impl Debug for LoadReport
impl Debug for LoadReport
Auto Trait Implementations§
impl !RefUnwindSafe for LoadReport
impl !UnwindSafe for LoadReport
impl Freeze for LoadReport
impl Send for LoadReport
impl Sync for LoadReport
impl Unpin for LoadReport
impl UnsafeUnpin 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