pub struct Time {
pub seconds: u32,
pub nseconds: u32,
}Expand description
Struct describing an NFS timestamp.
Fields§
§seconds: u32§nseconds: u32Implementations§
Source§impl Time
impl Time
pub fn to_system_time(&self) -> SystemTime
pub fn from_system_time(system_time: SystemTime) -> Self
Trait Implementations§
impl Copy for Time
impl StructuralPartialEq for Time
Auto Trait Implementations§
impl Freeze for Time
impl RefUnwindSafe for Time
impl Send for Time
impl Sync for Time
impl Unpin for Time
impl UnsafeUnpin for Time
impl UnwindSafe for Time
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