Enum QuickstartApplyOutcome
pub enum QuickstartApplyOutcome {
Applied(AppliedAgent),
CommittedWithSideEffectErrors {
agent: AppliedAgent,
errors: Vec<QuickstartError>,
},
}Expand description
Terminal outcome of one quickstart application.
Variants§
Applied(AppliedAgent)
Config persisted (and published, when the caller completed the staged apply as a config commit) and every personality file moved into place.
CommittedWithSideEffectErrors
Config persisted and published, but a post-commit side effect (personality-file installation) failed. The committed config is NOT rolled back — the agent is valid without the files — and the errors are reported truthfully so the operator can repair the files.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QuickstartApplyOutcome
impl RefUnwindSafe for QuickstartApplyOutcome
impl Send for QuickstartApplyOutcome
impl Sync for QuickstartApplyOutcome
impl Unpin for QuickstartApplyOutcome
impl UnsafeUnpin for QuickstartApplyOutcome
impl UnwindSafe for QuickstartApplyOutcome
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more