#[non_exhaustive]pub enum StartupNotification {
Runtime,
Application,
Healthy,
}Expand description
Startup notification behavior requested for one service.
The variants retain the portable meanings of Quadlet’s Notify=false, Notify=true, and
Notify=healthy without making a target implementation implicit.
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.
Runtime
The runtime owns readiness notification (Notify=false).
Application
The application process owns readiness notification (Notify=true).
Healthy
Readiness is reported from the service health check (Notify=healthy).
Trait Implementations§
Source§impl Clone for StartupNotification
impl Clone for StartupNotification
Source§fn clone(&self) -> StartupNotification
fn clone(&self) -> StartupNotification
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 moreimpl Copy for StartupNotification
Source§impl Debug for StartupNotification
impl Debug for StartupNotification
impl Eq for StartupNotification
Source§impl PartialEq for StartupNotification
impl PartialEq for StartupNotification
impl StructuralPartialEq for StartupNotification
Auto Trait Implementations§
impl Freeze for StartupNotification
impl RefUnwindSafe for StartupNotification
impl Send for StartupNotification
impl Sync for StartupNotification
impl Unpin for StartupNotification
impl UnsafeUnpin for StartupNotification
impl UnwindSafe for StartupNotification
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