Trait timespan::Parsable

source ·
pub trait Parsable: FromStr<Err = ParseError> {
    fn parse_from_str(_: &str, _: &str) -> Result<Self, Error>
    where
        Self: Sized
; }
Expand description

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.

Implementations on Foreign Types

Implementors