pub trait ScanFromOctal<'a>: Sized {
// Required method
fn scan_from_octal<I: ScanInput<'a>>(
s: I,
) -> Result<(Self, usize), ScanError>;
}
Expand description
This trait defines scanning a type from an octal representation.
This should be implemented to match implementations of std::fmt::Octal
.
Required Methods§
Sourcefn scan_from_octal<I: ScanInput<'a>>(s: I) -> Result<(Self, usize), ScanError>
fn scan_from_octal<I: ScanInput<'a>>(s: I) -> Result<(Self, usize), ScanError>
Perform a scan on the given input.
See: ScanFromStr::scan_from
.
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.