pub struct ControllerOutcome {
pub result: ReconcileResult,
pub bundle: Bundle,
pub lifecycle: LifecycleState,
}Expand description
Output of one reconcile(...) call. Wraps the typed
ReconcileResult from magma-drift (no duplicate enum) plus the
FSM lifecycle snapshot and the tamper-evident Bundle.
Fields§
§result: ReconcileResult§bundle: Bundle§lifecycle: LifecycleStateImplementations§
Source§impl ControllerOutcome
impl ControllerOutcome
Sourcepub fn fully_succeeded(&self) -> bool
pub fn fully_succeeded(&self) -> bool
Convenience: did the reconcile reach Stable?
Trait Implementations§
Source§impl Clone for ControllerOutcome
impl Clone for ControllerOutcome
Source§impl Debug for ControllerOutcome
impl Debug for ControllerOutcome
Source§impl<'de> Deserialize<'de> for ControllerOutcome
impl<'de> Deserialize<'de> for ControllerOutcome
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
Auto Trait Implementations§
impl Forget for ControllerOutcome
impl Freeze for ControllerOutcomewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
NonZero<i32>: Freeze,
Utc: Freeze,
PhantomData<Change>: Freeze,
PhantomData<AppliedChange>: Freeze,
PhantomData<FailedChange>: Freeze,
PhantomData<DriftEvent>: Freeze,
PhantomData<Transition>: Freeze,
PhantomData<Event>: Freeze,
impl Move for ControllerOutcome
impl RefUnwindSafe for ControllerOutcome
impl Send for ControllerOutcome
impl Sync for ControllerOutcome
impl Unpin for ControllerOutcome
impl UnsafeUnpin for ControllerOutcomewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
PhantomData<Change>: UnsafeUnpin,
PhantomData<AppliedChange>: UnsafeUnpin,
PhantomData<FailedChange>: UnsafeUnpin,
PhantomData<DriftEvent>: UnsafeUnpin,
PhantomData<Transition>: UnsafeUnpin,
PhantomData<Event>: UnsafeUnpin,
impl UnwindSafe for ControllerOutcomewhere
RawVecInner: UnwindSafe,
NonZero<i32>: UnwindSafe,
Utc: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request