pub enum Install {
Universal,
Profile,
None,
}Expand description
How the installer enable-links a unit.
Variants§
Universal
Enabled on every install, whatever the profile. Each such unit
self-gates (a ConditionPathExists, or an ExecStart guard), so the
link is a clean no-op on a board without its hardware.
Profile
Enabled on an install of one of the unit’s profiles.
None
Not enable-linked from the table: the supervisor starts it, or a dedicated install step owns its enablement (the opt-in logging store, the power re-assert oneshot).
Implementations§
Trait Implementations§
impl Copy for Install
impl Eq for Install
impl StructuralPartialEq for Install
Auto Trait Implementations§
impl Freeze for Install
impl RefUnwindSafe for Install
impl Send for Install
impl Sync for Install
impl Unpin for Install
impl UnsafeUnpin for Install
impl UnwindSafe for Install
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.