Struct nix::sys::time::TimeVal   
                   
                       [−]
                   
               [src]
pub struct TimeVal {
    pub tv_sec: time_t,
    pub tv_usec: suseconds_t,
}Fields
tv_sec | |
tv_usec | 
Methods
impl TimeVal
fn zero() -> TimeVal
fn hours(hours: i64) -> TimeVal
fn minutes(minutes: i64) -> TimeVal
fn seconds(seconds: i64) -> TimeVal
fn milliseconds(milliseconds: i64) -> TimeVal
fn microseconds(microseconds: i64) -> TimeVal
Makes a new TimeVal with given number of microseconds.