#[non_exhaustive]pub enum ProposalState {
Observed,
RecordCommitted,
Applied,
Rejected,
Expired,
ReconciliationRequired,
Settled,
}Expand description
Lifecycle state of an adaptive policy proposal.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Observed
Observation received before durable commit.
RecordCommitted
Proposal persisted by the kernel (not yet applied by the host).
Applied
Host confirmed exact application of the full candidate policy snapshot.
Rejected
Proposal rejected by the host or policy gate.
Expired
Proposal expired before execution or retention window elapsed.
ReconciliationRequired
Execution outcome is unknown; further active proposals are blocked until reconciled.
Settled
Execution outcome was observed and consumed once by learning.
Trait Implementations§
Source§impl Clone for ProposalState
impl Clone for ProposalState
impl Copy for ProposalState
Source§impl Debug for ProposalState
impl Debug for ProposalState
Source§impl<'de> Deserialize<'de> for ProposalState
impl<'de> Deserialize<'de> for ProposalState
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
impl Eq for ProposalState
Source§impl PartialEq for ProposalState
impl PartialEq for ProposalState
Source§impl Serialize for ProposalState
impl Serialize for ProposalState
impl StructuralPartialEq for ProposalState
Auto Trait Implementations§
impl Forget for ProposalState
impl Freeze for ProposalState
impl Move for ProposalState
impl RefUnwindSafe for ProposalState
impl Send for ProposalState
impl Sync for ProposalState
impl Unpin for ProposalState
impl UnsafeUnpin for ProposalState
impl UnwindSafe for ProposalState
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