time::parsing::shim

Trait IntegerParseBytes

source
pub(crate) trait IntegerParseBytes<T> {
    // Required method
    fn parse_bytes(&self) -> Option<T>;
}
Expand description

Equivalent of foo.parse() for slices.

Required Methods§

source

fn parse_bytes(&self) -> Option<T>

Implementations on Foreign Types§

source§

impl<T: Integer> IntegerParseBytes<T> for [u8]

source§

fn parse_bytes(&self) -> Option<T>

Implementors§