pub struct RecoveredParse {
pub result: ParseResult,
pub fatal_errors: Vec<ParseError>,
}Expand description
A recovered parse result that may include a partial document alongside fatal validation errors.
Fields§
§result: ParseResultThe parse result. Document may be present even when fatal_errors
is non-empty, allowing best-effort local features to use the partial
component tree.
fatal_errors: Vec<ParseError>Fatal errors produced after enough structure was recovered to build a
partial SpecDocument.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RecoveredParse
impl !RefUnwindSafe for RecoveredParse
impl Send for RecoveredParse
impl Sync for RecoveredParse
impl Unpin for RecoveredParse
impl UnsafeUnpin for RecoveredParse
impl !UnwindSafe for RecoveredParse
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