Struct Enter

struct Enter { ... }

Represents an executor context.

For more details, see enter documentation.

Implementations

impl Debug for Enter

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

impl Drop for Enter

fn drop(self: &mut Self)

impl Freeze for Enter

impl RefUnwindSafe for Enter

impl Send for Enter

impl Sync for Enter

impl Unpin for Enter

impl UnsafeUnpin for Enter

impl UnwindSafe for Enter

impl<T> Any for Enter

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Enter

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

impl<T> BorrowMut for Enter

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

impl<T> From for Enter

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for Enter

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 Enter

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

impl<T, U> TryInto for Enter

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