Skip to main content

ScanError

Trait ScanError 

Source
pub trait ScanError:
    Error
    + From<Error>
    + Sized {
    // Required method
    fn position(&mut self, line: u64, column: usize, offset: usize);
}
Expand description

Error with position

Required Methods§

Source

fn position(&mut self, line: u64, column: usize, offset: usize)

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

Implementors§