#[non_exhaustive]pub enum GroupExitPolicy {
Stop,
Continue,
Raw(ProtectedString),
}Expand description
Pod exit behavior retained without assigning lifecycle semantics to group membership.
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.
Stop
Stop the pod when a member container exits.
Continue
Keep the pod running when a member container exits.
Raw(ProtectedString)
Preserve a source-native exit-policy spelling for target-side classification.
Trait Implementations§
Source§impl Clone for GroupExitPolicy
impl Clone for GroupExitPolicy
Source§fn clone(&self) -> GroupExitPolicy
fn clone(&self) -> GroupExitPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GroupExitPolicy
impl Debug for GroupExitPolicy
impl Eq for GroupExitPolicy
Source§impl PartialEq for GroupExitPolicy
impl PartialEq for GroupExitPolicy
impl StructuralPartialEq for GroupExitPolicy
Auto Trait Implementations§
impl Freeze for GroupExitPolicy
impl RefUnwindSafe for GroupExitPolicy
impl Send for GroupExitPolicy
impl Sync for GroupExitPolicy
impl Unpin for GroupExitPolicy
impl UnsafeUnpin for GroupExitPolicy
impl UnwindSafe for GroupExitPolicy
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