time::parsing::shim

Trait IntegerParseBytes

Source
pub(crate) trait IntegerParseBytes<T> {
    // Required method
    fn parse_bytes(&self) -> Option<T>;
}
Available on crate feature parsing only.
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§