Struct RunningSameThreadGuard
pub(in ::bridge::server) struct RunningSameThreadGuard(pub(in ::bridge::server) ());
Keep ALREADY_RUNNING_SAME_THREAD (see also its documentation)
set to true, preventing same-thread reentrance.
Fields
0: ()
Implementations
impl RunningSameThreadGuard
fn new() -> Self
Trait Implementations
impl Drop for RunningSameThreadGuard
fn drop(&mut self)
Auto Trait Implementations
impl Freeze for RunningSameThreadGuard
impl RefUnwindSafe for RunningSameThreadGuard
impl Send for RunningSameThreadGuard
impl Sync for RunningSameThreadGuard
impl Unpin for RunningSameThreadGuard
impl UnsafeUnpin for RunningSameThreadGuard
impl UnwindSafe for RunningSameThreadGuard
Blanket Implementations
impl<T> Any for RunningSameThreadGuard
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for RunningSameThreadGuard
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for RunningSameThreadGuard
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for RunningSameThreadGuard
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for RunningSameThreadGuard
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for RunningSameThreadGuard
impl<T, U> Into<U> for RunningSameThreadGuard
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 RunningSameThreadGuard
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for RunningSameThreadGuard
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>