pub enum ActivationReason {
Unprofiled,
MatchingProfile(String),
AllProfiles,
NoMatchingProfile,
}Expand description
Why one service is active or inactive.
Variants§
Unprofiled
The service has no effective profiles restriction.
MatchingProfile(String)
At least one declared profile matched an explicitly active profile.
AllProfiles
The caller explicitly requested all profiles.
NoMatchingProfile
None of the declared profiles is active.
Trait Implementations§
Source§impl Clone for ActivationReason
impl Clone for ActivationReason
Source§fn clone(&self) -> ActivationReason
fn clone(&self) -> ActivationReason
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 ActivationReason
impl Debug for ActivationReason
impl Eq for ActivationReason
Source§impl PartialEq for ActivationReason
impl PartialEq for ActivationReason
impl StructuralPartialEq for ActivationReason
Auto Trait Implementations§
impl Freeze for ActivationReason
impl RefUnwindSafe for ActivationReason
impl Send for ActivationReason
impl Sync for ActivationReason
impl Unpin for ActivationReason
impl UnsafeUnpin for ActivationReason
impl UnwindSafe for ActivationReason
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