pub enum ComponentState {
Starting,
Running,
Stopping,
Stopped,
}Expand description
Lifecycle state of a component.
Variants§
Starting
Component is being initialized.
Running
Component is actively running. Instruments are captured.
Stopping
Component is shutting down. Final flush pending.
Stopped
Component is done. Instruments no longer captured. Cumulative view remains queryable in the store until detach.
Trait Implementations§
Source§impl Clone for ComponentState
impl Clone for ComponentState
impl Copy for ComponentState
Source§impl Debug for ComponentState
impl Debug for ComponentState
impl Eq for ComponentState
Source§impl PartialEq for ComponentState
impl PartialEq for ComponentState
impl StructuralPartialEq for ComponentState
Auto Trait Implementations§
impl Freeze for ComponentState
impl RefUnwindSafe for ComponentState
impl Send for ComponentState
impl Sync for ComponentState
impl Unpin for ComponentState
impl UnsafeUnpin for ComponentState
impl UnwindSafe for ComponentState
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.