pub struct Timespec {
pub sec: u64,
pub nsec: u32,
}Expand description
Btrfs timestamp (seconds + nanoseconds since Unix epoch).
Fields§
§sec: u64Seconds since 1970-01-01 00:00:00 UTC.
nsec: u32Nanosecond component (0..999_999_999).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Timespec
impl RefUnwindSafe for Timespec
impl Send for Timespec
impl Sync for Timespec
impl Unpin for Timespec
impl UnsafeUnpin for Timespec
impl UnwindSafe for Timespec
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