[β][src]Struct time::Timespec
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
Methods
impl Timespec
[src][β]
Trait Implementations
impl Ord for Timespec
[src][+]
impl Eq for Timespec
[src]
impl PartialOrd<Timespec> for Timespec
[src][+]
impl Copy for Timespec
[src]
impl PartialEq<Timespec> for Timespec
[src][+]
impl Clone for Timespec
[src][+]
impl Debug for Timespec
[src][+]
impl Add<Duration> for Timespec
[src][+]
impl Sub<Duration> for Timespec
[src][+]
impl Sub<Timespec> for Timespec
[src][+]
impl Hash for Timespec
[src][+]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src][+]
impl<T, U> Into for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T> Borrow for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,