Struct time::Timespec [−][src]
A record specifying a time value in seconds and nanoseconds, where nanoseconds represent the offset from the given second.
For example a timespec of 1.2 seconds after the beginning of the epoch would be represented as {sec: 1, nsec: 200000000}.
Fields
sec: i64
nsec: i32
Implementations
Trait Implementations
impl PartialOrd<Timespec> for Timespec
[src]
impl PartialOrd<Timespec> for Timespec
[src]fn partial_cmp(&self, other: &Timespec) -> Option<Ordering>
[src][−]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src][−]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src][−]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src][−]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src][−]
#[must_use]
pub fn ge(&self, other: &Rhs) -> bool