pub enum LifeCycleState {
Created,
Inactive,
Active,
Error,
}Expand description
LifeCycleState (spec §5.2.2.3, p. 19) — lifecycle states of an
RTC within an ExecutionContext.
Spec-Zitat (§5.2.2.3.1-§5.2.2.3.4): “CREATED — instantiated but not yet initialized; INACTIVE — Alive but not invoked; ACTIVE — Alive and will be invoked when context is Running; ERROR — encountered problem and cannot continue without reset.”
Variants§
Created
CREATED (§5.2.2.3.1).
Inactive
INACTIVE (§5.2.2.3.2).
Active
ACTIVE (§5.2.2.3.3).
Error
ERROR (§5.2.2.3.4).
Trait Implementations§
Source§impl Clone for LifeCycleState
impl Clone for LifeCycleState
Source§fn clone(&self) -> LifeCycleState
fn clone(&self) -> LifeCycleState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LifeCycleState
Source§impl Debug for LifeCycleState
impl Debug for LifeCycleState
impl Eq for LifeCycleState
Source§impl Hash for LifeCycleState
impl Hash for LifeCycleState
Source§impl PartialEq for LifeCycleState
impl PartialEq for LifeCycleState
impl StructuralPartialEq for LifeCycleState
Auto Trait Implementations§
impl Freeze for LifeCycleState
impl RefUnwindSafe for LifeCycleState
impl Send for LifeCycleState
impl Sync for LifeCycleState
impl Unpin for LifeCycleState
impl UnsafeUnpin for LifeCycleState
impl UnwindSafe for LifeCycleState
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