#[non_exhaustive]pub enum PluginStatus {
Suspended {
missing: Arc<[&'static str]>,
},
Starting {
revision: u64,
},
Active {
activation: ActivationId,
revision: u64,
},
Stopping {
activation: ActivationId,
},
Failed {
phase: FailurePhase,
message: Arc<str>,
revision: u64,
},
Disposed,
}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.
Trait Implementations§
Source§impl Clone for PluginStatus
impl Clone for PluginStatus
Source§fn clone(&self) -> PluginStatus
fn clone(&self) -> PluginStatus
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 PluginStatus
impl Debug for PluginStatus
impl Eq for PluginStatus
Source§impl PartialEq for PluginStatus
impl PartialEq for PluginStatus
impl StructuralPartialEq for PluginStatus
Auto Trait Implementations§
impl Freeze for PluginStatus
impl RefUnwindSafe for PluginStatus
impl Send for PluginStatus
impl Sync for PluginStatus
impl Unpin for PluginStatus
impl UnsafeUnpin for PluginStatus
impl UnwindSafe for PluginStatus
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