[−][src]Trait float_duration::duration::IntoDuration
A fallible conversion that consumes self
.
This is very similar to the std::convert::TryInto
trait which is currently
unstable.
Similar to std::convert::Into
, this trait is reflexively implemented for
all implementations of FromDuration
and should not be manually implemented.
Associated Types
type Error
Required Methods
fn into_duration(self) -> Result<T, Self::Error>
Convert self
into a T
object.
Implementors
impl<T, U> IntoDuration<U> for T where
U: FromDuration<T>,
[src]
impl<T, U> IntoDuration<U> for T where
U: FromDuration<T>,