#[non_exhaustive]pub enum Mode {
CanaryDeployment(Box<CanaryDeployment>),
CustomCanaryDeployment(Box<CustomCanaryDeployment>),
}
Expand description
The mode to use for the canary deployment strategy.
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.
CanaryDeployment(Box<CanaryDeployment>)
Optional. Configures the progressive based deployment for a Target.
CustomCanaryDeployment(Box<CustomCanaryDeployment>)
Optional. Configures the progressive based deployment for a Target, but allows customizing at the phase level where a phase represents each of the percentage deployments.
Trait Implementations§
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
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