Struct nc::types::kernle_old_timeval_t
source · #[repr(C)]pub struct kernle_old_timeval_t {
pub tv_sec: isize,
pub tv_usec: isize,
}
Expand description
legacy timeval structure, only embedded in structures that traditionally used ‘timeval’ to pass time intervals (not absolute times). Do not add new users. If user space fails to compile here, this is probably because it is not y2038 safe and needs to be changed to use another interface.
Fields§
§tv_sec: isize
§tv_usec: isize
Trait Implementations§
source§impl Clone for kernle_old_timeval_t
impl Clone for kernle_old_timeval_t
source§fn clone(&self) -> kernle_old_timeval_t
fn clone(&self) -> kernle_old_timeval_t
Returns a copy 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 moresource§impl Debug for kernle_old_timeval_t
impl Debug for kernle_old_timeval_t
source§impl Default for kernle_old_timeval_t
impl Default for kernle_old_timeval_t
source§fn default() -> kernle_old_timeval_t
fn default() -> kernle_old_timeval_t
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for kernle_old_timeval_t
impl RefUnwindSafe for kernle_old_timeval_t
impl Send for kernle_old_timeval_t
impl Sync for kernle_old_timeval_t
impl Unpin for kernle_old_timeval_t
impl UnwindSafe for kernle_old_timeval_t
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