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
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.