pub struct LifecycleCell(/* private fields */);Expand description
A shared, atomic Lifecycle. The only way to change the state.
Implementations§
Source§impl LifecycleCell
impl LifecycleCell
Trait Implementations§
Source§impl Debug for LifecycleCell
impl Debug for LifecycleCell
Auto Trait Implementations§
impl !Freeze for LifecycleCell
impl Forget for LifecycleCell
impl RefUnwindSafe for LifecycleCell
impl Send for LifecycleCell
impl Sync for LifecycleCell
impl Unpin for LifecycleCell
impl UnsafeUnpin for LifecycleCell
impl UnwindSafe for LifecycleCell
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> Scoped for T
impl<T> Scoped for T
Source§fn scope(ctx: &PolicyContext) -> ScopeQuery<'_, Self>
fn scope(ctx: &PolicyContext) -> ScopeQuery<'_, Self>
Open a deferred
ScopeQuery for this type. Resolves the
registered scope at .load() time, not here.