pub trait IntoSkipOrFatal {
type Skip;
type Fatal;
// Required method
fn into_skip_or_fatal(self) -> SkipOrFatal<Self::Skip, Self::Fatal>;
}Expand description
Trait of error type of a component parser. It checks whether the error means “skip” or “fatal”.
Required Associated Types§
Required Methods§
Sourcefn into_skip_or_fatal(self) -> SkipOrFatal<Self::Skip, Self::Fatal>
fn into_skip_or_fatal(self) -> SkipOrFatal<Self::Skip, Self::Fatal>
Check whether the error returned from a component parser is skip or fatal.