pub struct ActivationPlan {
pub start: BTreeSet<UnitId>,
pub stop: BTreeSet<UnitId>,
pub restart: BTreeSet<UnitId>,
pub reload: BTreeSet<UnitId>,
pub needs_reboot_to_confirm: bool,
}Fields§
§start: BTreeSet<UnitId>§stop: BTreeSet<UnitId>§restart: BTreeSet<UnitId>§reload: BTreeSet<UnitId>§needs_reboot_to_confirm: boolKernel, initrd, bootloader or filesystem options changed: can become
live_tested but not known_good until a reboot confirms it (§10).
Implementations§
Trait Implementations§
Source§impl Clone for ActivationPlan
impl Clone for ActivationPlan
Source§fn clone(&self) -> ActivationPlan
fn clone(&self) -> ActivationPlan
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 ActivationPlan
impl Debug for ActivationPlan
Source§impl Default for ActivationPlan
impl Default for ActivationPlan
Source§fn default() -> ActivationPlan
fn default() -> ActivationPlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActivationPlan
impl<'de> Deserialize<'de> for ActivationPlan
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 PartialEq for ActivationPlan
impl PartialEq for ActivationPlan
Source§impl Serialize for ActivationPlan
impl Serialize for ActivationPlan
impl Eq for ActivationPlan
impl StructuralPartialEq for ActivationPlan
Auto Trait Implementations§
impl Freeze for ActivationPlan
impl RefUnwindSafe for ActivationPlan
impl Send for ActivationPlan
impl Sync for ActivationPlan
impl Unpin for ActivationPlan
impl UnsafeUnpin for ActivationPlan
impl UnwindSafe for ActivationPlan
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