tiempo-rs/src/types.rs

20 lines
259 B
Rust
Raw Normal View History

2021-06-18 11:27:19 -05:00
use std::str::FromStr;
use crate::error;
pub struct Time;
impl Time {
pub fn now() -> Time {
Time
}
}
impl FromStr for Time {
type Err = error::Error;
fn from_str(s: &str) -> error::Result<Time> {
unimplemented!()
}
}