pub struct Timeval {
pub sec: i32,
pub usec: i32,
}Expand description
Timestamp with second and microsecond components.
Matches the C++ tv struct used throughout the Snapcast protocol.
Fields§
§sec: i32Seconds component.
usec: i32Microseconds component.
Implementations§
Trait Implementations§
impl Copy for Timeval
impl Eq for Timeval
impl StructuralPartialEq 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 UnsafeUnpin 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