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

pub trait ScanFromBinary<'a>: Sized {
    fn scan_from_binary<I: ScanInput<'a>>(
        s: I
    ) -> Result<(Self, usize), ScanError>; }

This trait defines scanning a type from a binary representation.

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

Required Methods

Perform a scan on the given input.

See: ScanFromStr::scan_from.

Implementors