Struct Elapsed
struct Elapsed(_)
Errors returned by Timeout.
This error is returned when a timeout expires before the function was able to finish.
Implementations
impl Debug for Elapsed
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Display for Elapsed
fn fmt(self: &Self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result
impl Eq for Elapsed
impl Error for Elapsed
impl Freeze for Elapsed
impl PartialEq for Elapsed
fn eq(self: &Self, other: &Elapsed) -> bool
impl RefUnwindSafe for Elapsed
impl Send for Elapsed
impl StructuralPartialEq for Elapsed
impl Sync for Elapsed
impl Unpin for Elapsed
impl UnwindSafe for Elapsed
impl<T> Any for Elapsed
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Elapsed
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Elapsed
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for Elapsed
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToString for Elapsed
fn to_string(self: &Self) -> String
impl<T, U> Into for Elapsed
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 Elapsed
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Elapsed
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>