pub enum LifeCycleState {
Created,
Inactive,
Active,
Error,
}Expand description
LifeCycleState (Spec §5.2.2.3, S. 19) — Lifecycle-States eines
RTC innerhalb eines 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 moreSource§impl Debug for LifeCycleState
impl Debug for LifeCycleState
Source§impl Hash for LifeCycleState
impl Hash for LifeCycleState
Source§impl PartialEq for LifeCycleState
impl PartialEq for LifeCycleState
Source§fn eq(&self, other: &LifeCycleState) -> bool
fn eq(&self, other: &LifeCycleState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LifeCycleState
impl Eq 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