#[non_exhaustive]pub enum PluginLifecycleState {
Discovered,
Validated,
Installed,
Enabled,
Disabled,
Broken,
Incompatible,
}Expand description
Stable plugin lifecycle state in registry and diagnostics.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Discovered
Artifact located during discovery.
Validated
Manifest and contract validation passed.
Installed
Plugin installed in registry.
Enabled
Plugin actively enabled for routing.
Disabled
Plugin present but inactive.
Broken
Plugin failed validation or runtime loading.
Incompatible
Plugin failed compatibility checks.
Trait Implementations§
Source§impl Clone for PluginLifecycleState
impl Clone for PluginLifecycleState
Source§fn clone(&self) -> PluginLifecycleState
fn clone(&self) -> PluginLifecycleState
Returns a duplicate of the value. Read more
1.0.0 · 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 PluginLifecycleState
impl Debug for PluginLifecycleState
Source§impl<'de> Deserialize<'de> for PluginLifecycleState
impl<'de> Deserialize<'de> for PluginLifecycleState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for PluginLifecycleState
impl JsonSchema for PluginLifecycleState
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for PluginLifecycleState
impl PartialEq for PluginLifecycleState
Source§impl Serialize for PluginLifecycleState
impl Serialize for PluginLifecycleState
impl Copy for PluginLifecycleState
impl Eq for PluginLifecycleState
impl StructuralPartialEq for PluginLifecycleState
Auto Trait Implementations§
impl Freeze for PluginLifecycleState
impl RefUnwindSafe for PluginLifecycleState
impl Send for PluginLifecycleState
impl Sync for PluginLifecycleState
impl Unpin for PluginLifecycleState
impl UnsafeUnpin for PluginLifecycleState
impl UnwindSafe for PluginLifecycleState
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
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.