Struct extra::time::Timespec

pub struct Timespec {
    sec: i64,
    nsec: i32,
}

A record specifying a time value in seconds and nanoseconds.

Methods

impl Timespec

fn new(sec: i64, nsec: i32) -> Timespec

Trait Implementations

impl std::clone::Clone for Timespec

fn clone(&self) -> Timespec

impl std::clone::DeepClone for Timespec

fn deep_clone(&self) -> Timespec

impl std::cmp::Eq for Timespec

fn eq(&self, __arg_0: &Timespec) -> bool

fn ne(&self, __arg_0: &Timespec) -> bool

impl<__E: Encoder> Encodable<__E> for Timespec

fn encode(&self, __arg_0: &mut __E)

impl<__D: Decoder> Decodable<__D> for Timespec

fn decode(__arg_0: &mut __D) -> Timespec

impl std::cmp::Ord for Timespec

fn lt(&self, other: &Timespec) -> bool