#[non_exhaustive]pub enum RuntimeUpdatePolicy {
AutomaticUpdatePolicy(Box<AutomaticUpdatePolicy>),
OnDeployUpdatePolicy(Box<OnDeployUpdatePolicy>),
}
Expand description
This controls when security patches are applied to the runtime environment.
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.
AutomaticUpdatePolicy(Box<AutomaticUpdatePolicy>)
OnDeployUpdatePolicy(Box<OnDeployUpdatePolicy>)
Trait Implementations§
Source§impl Clone for RuntimeUpdatePolicy
impl Clone for RuntimeUpdatePolicy
Source§fn clone(&self) -> RuntimeUpdatePolicy
fn clone(&self) -> RuntimeUpdatePolicy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RuntimeUpdatePolicy
impl Debug for RuntimeUpdatePolicy
Source§impl PartialEq for RuntimeUpdatePolicy
impl PartialEq for RuntimeUpdatePolicy
impl StructuralPartialEq for RuntimeUpdatePolicy
Auto Trait Implementations§
impl Freeze for RuntimeUpdatePolicy
impl RefUnwindSafe for RuntimeUpdatePolicy
impl Send for RuntimeUpdatePolicy
impl Sync for RuntimeUpdatePolicy
impl Unpin for RuntimeUpdatePolicy
impl UnwindSafe for RuntimeUpdatePolicy
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