pub struct FailureExample {
pub path: String,
pub reason: String,
}Expand description
Example of a specific file parsing failure.
Provides the file path and error reason for investigation.
Fields§
§path: StringAbsolute path to the file that failed to parse.
reason: StringHuman-readable description of the failure.
Trait Implementations§
Source§impl Clone for FailureExample
impl Clone for FailureExample
Source§fn clone(&self) -> FailureExample
fn clone(&self) -> FailureExample
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 FailureExample
impl RefUnwindSafe for FailureExample
impl Send for FailureExample
impl Sync for FailureExample
impl Unpin for FailureExample
impl UnwindSafe for FailureExample
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