20 lines
259 B
Rust
20 lines
259 B
Rust
![]() |
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!()
|
||
|
}
|
||
|
}
|