pub trait ParseWithIssues<Input, HandleIssue, Error>: Sized {
// Required method
fn parse_with_issues(
input: Input,
handle_issue: HandleIssue,
) -> PartialParseResult<Self, Error>;
}Expand description
Partially parse an input with an issue handler.
Required Methods§
Sourcefn parse_with_issues(
input: Input,
handle_issue: HandleIssue,
) -> PartialParseResult<Self, Error>
fn parse_with_issues( input: Input, handle_issue: HandleIssue, ) -> PartialParseResult<Self, Error>
Parse an input until completion or when the issue handler returns an error.
The complete or partial result can be recovered regardless of errors.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.