Struct LocalEnterGuard

struct LocalEnterGuard { ... }

Context guard for LocalSet

Implementations

impl Debug for LocalEnterGuard

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

impl Drop for LocalEnterGuard

fn drop(self: &mut Self)

impl Freeze for LocalEnterGuard

impl RefUnwindSafe for LocalEnterGuard

impl Send for LocalEnterGuard

impl Sync for LocalEnterGuard

impl Unpin for LocalEnterGuard

impl UnsafeUnpin for LocalEnterGuard

impl UnwindSafe for LocalEnterGuard

impl<T> Any for LocalEnterGuard

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for LocalEnterGuard

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

impl<T> BorrowMut for LocalEnterGuard

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

impl<T> From for LocalEnterGuard

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for LocalEnterGuard

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 LocalEnterGuard

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

impl<T, U> TryInto for LocalEnterGuard

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