Skip to main content

TryIntoTime

Trait TryIntoTime 

Source
pub trait TryIntoTime {
    // Required method
    fn into_time(self) -> Result<DateTime<Utc>, ParseError>;
}
Expand description

Trait to define conversion to DateTime

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl TryIntoTime for &str

Source§

impl TryIntoTime for DateTime<Utc>

Source§

impl TryIntoTime for String

Implementors§