Struct Entered

struct Entered<'a> { ... }

A guard representing a span which has been entered and is currently executing.

When the guard is dropped, the span will be exited.

This is returned by the Span::enter function.

Implementations

impl<'a> Debug for Entered<'a>

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

impl<'a> Drop for Entered<'a>

fn drop(self: &mut Self)

impl<'a> Freeze for Entered<'a>

impl<'a> RefUnwindSafe for Entered<'a>

impl<'a> Send for Entered<'a>

impl<'a> Sync for Entered<'a>

impl<'a> Unpin for Entered<'a>

impl<'a> UnsafeUnpin for Entered<'a>

impl<'a> UnwindSafe for Entered<'a>

impl<T> Any for Entered<'a>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Entered<'a>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Entered<'a>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for Entered<'a>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Instrument for Entered<'a>

impl<T> WithSubscriber for Entered<'a>

impl<T, U> Into for Entered<'a>

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 Entered<'a>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Entered<'a>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>