/// Create a new reply with extended times.
Create a new reply with extended times.
Create a new reply with extended times .
pub fn new(bkuptime: &SystemTime, crtime: &SystemTime) -> Self {
        // FIXME: unwrap may panic, use unwrap_or((0, 0)) or return a result instead?
        let (bkuptime_secs, bkuptime_nanos) = time_from_system_time(bkuptime).unwrap();
        let (crtime_secs, crtime_nanos) = time_from_system_time(crtime).unwrap();
        Self {
            inner: fuse_getxtimes_out {
                bkuptime: bkuptime_secs,
                crtime: crtime_secs,
                bkuptimensec: bkuptime_nanos,
                crtimensec: crtime_nanos,
            },
        }
    }
pub fn new ( bkuptime : & SystemTime , crtime : & SystemTime ) -> Self { // FIXME: unwrap may panic, use unwrap_or((0, 0)) or return a result instead? let ( bkuptime_secs , bkuptime_nanos ) = time_from_system_time ( bkuptime ) . unwrap ( ) ; let ( crtime_secs , crtime_nanos ) = time_from_system_time ( crtime ) . unwrap ( ) ; Self { inner : fuse_getxtimes_out { bkuptime : bkuptime_secs , crtime : crtime_secs , bkuptimensec : bkuptime_nanos , crtimensec : crtime_nanos , } , } }
Create a new reply with extended times.
Create a new reply with extended times .
bkuptime
&SystemTime
crtime
&SystemTime