tendermint::time

Trait ParseTimestamp

Source
pub trait ParseTimestamp {
    // Required method
    fn parse_timestamp(&self) -> Result<Time, Error>;
}
Expand description

Parse Time from a type

Required Methods§

Source

fn parse_timestamp(&self) -> Result<Time, Error>

Parse Time, or return an Error if parsing failed

Implementors§