Trait winnow::error::FromRecoverableError
source · pub trait FromRecoverableError<I: Stream, E> {
// Required method
fn from_recoverable_error(
token_start: &<I as Stream>::Checkpoint,
err_start: &<I as Stream>::Checkpoint,
input: &I,
e: E
) -> Self;
}
Expand description
Capture context from when an error was recovered
Required Methods§
sourcefn from_recoverable_error(
token_start: &<I as Stream>::Checkpoint,
err_start: &<I as Stream>::Checkpoint,
input: &I,
e: E
) -> Self
fn from_recoverable_error( token_start: &<I as Stream>::Checkpoint, err_start: &<I as Stream>::Checkpoint, input: &I, e: E ) -> Self
Capture context from when an error was recovered
Object Safety§
This trait is not object safe.