#[repr(C)]pub struct timeval {
pub tv_sec: i32,
pub tv_usec: i32,
}
Fields§
§tv_sec: i32
Seconds
tv_usec: i32
Microseconds
Trait Implementations§
Source§impl FromBytes for timeval
impl FromBytes for timeval
Source§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read moreSource§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read moreSource§impl FromZeroes for timevalwhere
i32: FromZeroes,
impl FromZeroes for timevalwhere
i32: FromZeroes,
impl Copy for timeval
Auto Trait Implementations§
impl Freeze for timeval
impl RefUnwindSafe for timeval
impl Send for timeval
impl Sync for timeval
impl Unpin for timeval
impl UnwindSafe for timeval
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