Struct HumanDuration
struct HumanDuration(90)
Wraps an std duration for human readable formatting.
Implementations
impl Debug for HumanDuration
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Display for HumanDuration
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Freeze for HumanDuration
impl RefUnwindSafe for HumanDuration
impl Send for HumanDuration
impl Sync for HumanDuration
impl Unpin for HumanDuration
impl UnsafeUnpin for HumanDuration
impl UnwindSafe for HumanDuration
impl<T> Any for HumanDuration
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for HumanDuration
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for HumanDuration
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for HumanDuration
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToString for HumanDuration
fn to_string(self: &Self) -> String
impl<T, U> Into for HumanDuration
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for HumanDuration
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for HumanDuration
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>