#[non_exhaustive]pub enum ConfigControlResponse {
Status {
status: ConfigStatus,
},
Plan {
view: ConfigPlanView,
},
Stamp {
view: ConfigPlanView,
},
Unstamp {
view: ConfigPlanView,
},
Rollback {
view: ConfigPlanView,
},
Applied {
generation: u64,
restart_required: bool,
},
History {
generations: Vec<Generation>,
pruned: Vec<Value>,
},
ProgramPlaced {
generation: Option<u64>,
},
}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.
Status
Fields
§
status: ConfigStatusPlan
Fields
§
view: ConfigPlanViewStamp
Fields
§
view: ConfigPlanViewUnstamp
Fields
§
view: ConfigPlanViewRollback
Fields
§
view: ConfigPlanViewApplied
History
ProgramPlaced
Trait Implementations§
Source§impl Clone for ConfigControlResponse
impl Clone for ConfigControlResponse
Source§impl Debug for ConfigControlResponse
impl Debug for ConfigControlResponse
Source§impl<'de> Deserialize<'de> for ConfigControlResponse
impl<'de> Deserialize<'de> for ConfigControlResponse
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 ConfigControlResponse
impl PartialEq for ConfigControlResponse
Source§impl Serialize for ConfigControlResponse
impl Serialize for ConfigControlResponse
impl StructuralPartialEq for ConfigControlResponse
Auto Trait Implementations§
impl Forget for ConfigControlResponse
impl Freeze for ConfigControlResponse
impl Move for ConfigControlResponse
impl RefUnwindSafe for ConfigControlResponse
impl Send for ConfigControlResponse
impl Sync for ConfigControlResponse
impl Unpin for ConfigControlResponse
impl UnsafeUnpin for ConfigControlResponse
impl UnwindSafe for ConfigControlResponse
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