/// Create a Transaction that will move the system from the current state to
/// the next desired state.
Create a Transaction that will move the system from the current state to
the next desired state.
Create a Transaction that will move the system from the current state to the next desired state .
pub async fn with_next(sd: &Systemd, next: ServiceSet) -> Result<Self> {
        let current = ServiceSet::current(sd)
            .await
            .context("while loading the current service set")?;
        Ok(Self { current, next })
    }
pub async fn with_next ( sd : & Systemd , next : ServiceSet ) -> Result < Self > { let current = ServiceSet :: current ( sd ) . await . context ( " " ) ? ; Ok ( Self { current , next } ) }
Create a Transaction that will move the system from the current state to
the next desired state.
Create a Transaction that will move the system from the current state to the next desired state .
sd
&Systemd
next
ServiceSet