Trait scan_rules::scanner::ScanFromBinary [] [src]

pub trait ScanFromBinary<'a>: Sized {
    fn scan_from_binary(s: &'a str) -> Result<(Self, usize)ScanErrorKind>;
}

This trait defines scanning a type from a binary representation.

This should be implemented to match implementations of std::fmt::Binary.

Required Methods

fn scan_from_binary(s: &'a str) -> Result<(Self, usize)ScanErrorKind>

Perform a scan on the given input.

See: ScanFromStr::scan_from.

Implementors