Struct Elapsed

struct Elapsed(_)

The timeout elapsed.

Implementations

impl Elapsed

const fn new() -> Self

Construct a new elapsed error

impl Debug for Elapsed

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Default for Elapsed

fn default() -> Elapsed

impl Display for Elapsed

fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result

impl Error for Elapsed

impl Freeze for Elapsed

impl RefUnwindSafe for Elapsed

impl Send 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) -> T

Returns the argument unchanged.

impl<T> Instrument for Elapsed

impl<T> ToString for Elapsed

fn to_string(self: &Self) -> String

impl<T> WithSubscriber for Elapsed

impl<T, U> Into for Elapsed

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses 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>