pub struct TryFromFloatSecsError { /* private fields */ }Expand description
An error which can be returned when converting a floating-point value of seconds
into a Duration.
This error is used as the error type for Duration::try_from_secs_f32 and
[Duration::try_from_secs_f64].
§Example
Trait Implementations§
1.66.0 · Source§impl Clone for TryFromFloatSecsError
impl Clone for TryFromFloatSecsError
Source§fn clone(&self) -> TryFromFloatSecsError
fn clone(&self) -> TryFromFloatSecsError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)where
Self:,
fn clone_from(&mut self, source: &Self)where
Self:,
Performs copy-assignment from
source. Read more