#[repr(C)]pub struct subscription_clock {
pub identifier: userdata,
pub clock_id: clockid,
pub timeout: timestamp,
pub precision: timestamp,
pub flags: subclockflags,
}Fields§
§identifier: userdataThe user-defined unique identifier of the clock.
clock_id: clockidThe clock against which the timestamp should be compared.
timeout: timestampThe absolute or relative timestamp.
precision: timestampThe amount of time that the kernel may wait additionally to coalesce with other events.
flags: subclockflagsFlags specifying whether the timeout is absolute or relative.
Trait Implementations§
Source§impl Clone for subscription_clock
impl Clone for subscription_clock
Source§fn clone(&self) -> subscription_clock
fn clone(&self) -> subscription_clock
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for subscription_clock
Auto Trait Implementations§
impl Freeze for subscription_clock
impl RefUnwindSafe for subscription_clock
impl Send for subscription_clock
impl Sync for subscription_clock
impl Unpin for subscription_clock
impl UnwindSafe for subscription_clock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more