Trait ScanError

Source
pub trait ScanError:
    Error
    + From<Error>
    + Sized {
    // Required method
    fn position(&mut self, p: Pos);
}
Expand description

Error with position

Required Methods§

Source

fn position(&mut self, p: Pos)

Update the position where the error occurs

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.

Implementors§