Trait timespan::Parsable [] [src]

pub trait Parsable: FromStr<Err = ParseError> {
    fn parse_from_str(_: &str, _: &str) -> ParseResult<Self>
    where
        Self: Sized
; }

Spanable types that are parsable can be used to deserialize a given string to a span instance.

Required Methods

This is a wrapper method to the parse_from_str method from chrono.

Implementors