Struct LocalEnterGuard
pub struct LocalEnterGuard { /* private fields */ }
Context guard for LocalSet
Trait Implementations
impl Debug for LocalEnterGuard
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Drop for LocalEnterGuard
fn drop(&mut self)
Auto Trait Implementations
impl !RefUnwindSafe for LocalEnterGuard
impl !Send for LocalEnterGuard
impl !Sync for LocalEnterGuard
impl !UnwindSafe for LocalEnterGuard
impl Freeze for LocalEnterGuard
impl Unpin for LocalEnterGuard
impl UnsafeUnpin for LocalEnterGuard
Blanket Implementations
impl<T> Any for LocalEnterGuard
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for LocalEnterGuard
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for LocalEnterGuard
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for LocalEnterGuard
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for LocalEnterGuard
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for LocalEnterGuard
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for LocalEnterGuard
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>