rustix::backend::time::types

Type Alias Itimerspec

Source
pub type Itimerspec = __kernel_itimerspec;
Expand description

struct itimerspec for use with timerfd_gettime and timerfd_settime.

Aliased Type§

struct Itimerspec {
    pub it_interval: __kernel_timespec,
    pub it_value: __kernel_timespec,
}

Fields§

§it_interval: __kernel_timespec§it_value: __kernel_timespec

Trait Implementations

Source§

impl Clone for __kernel_itimerspec

Source§

fn clone(&self) -> __kernel_itimerspec

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for __kernel_itimerspec

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Copy for __kernel_itimerspec