pub trait Scan: Sized {
type Err: Error;
// Required method
fn scan(buf: &str) -> (Result<Self, Self::Err>, usize);
}
pub trait Scan: Sized {
type Err: Error;
// Required method
fn scan(buf: &str) -> (Result<Self, Self::Err>, usize);
}