pub fn add(&self, duration: Duration) -> Option<Self> {
        self.as_nanos()
            .checked_add(duration.as_nanos() as i128)
            .and_then(Self::from_nanos_i128)
    }
/// Returns the instant in time after the given duration has passed.
///
/// Returns `None` if the resulting instant would exceed the bounds of the underlying data
/// structure.
Returns the instant in time after the given duration has passed.
Returns `None` if the resulting instant would exceed the bounds of the underlying data
structure.
Returns the instant in time after the given duration has passed . Returns ` None ` if the resulting instant would exceed the bounds of the underlying data structure .
pub fn add(&self, duration: Duration) -> Option<Self> {
        self.as_nanos()
            .checked_add(duration.as_nanos() as i128)
            .and_then(Self::from_nanos_i128)
    }
pub fn add ( & self , duration : Duration ) -> Option < Self > { self . as_nanos ( ) . checked_add ( duration . as_nanos ( ) as i128 ) . and_then ( Self :: from_nanos_i128 ) }
Returns the instant in time after the given duration has passed.
Returns the instant in time after the given duration has passed .
&self
duration
Duration
&self
duration
Duration