pub enum HealthFailureAction {
LogOnly,
GracefulShutdown,
}Expand description
健康检查失败后的运行时行为
Variants§
Trait Implementations§
Source§impl Clone for HealthFailureAction
impl Clone for HealthFailureAction
Source§fn clone(&self) -> HealthFailureAction
fn clone(&self) -> HealthFailureAction
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 HealthFailureAction
Source§impl Debug for HealthFailureAction
impl Debug for HealthFailureAction
impl Eq for HealthFailureAction
Source§impl PartialEq for HealthFailureAction
impl PartialEq for HealthFailureAction
Source§fn eq(&self, other: &HealthFailureAction) -> bool
fn eq(&self, other: &HealthFailureAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HealthFailureAction
Auto Trait Implementations§
impl Freeze for HealthFailureAction
impl RefUnwindSafe for HealthFailureAction
impl Send for HealthFailureAction
impl Sync for HealthFailureAction
impl Unpin for HealthFailureAction
impl UnsafeUnpin for HealthFailureAction
impl UnwindSafe for HealthFailureAction
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