pub enum ReadinessPlan {
Http {
path: String,
timeout_seconds: Option<u64>,
},
HttpTargetRegistry {
readiness_path: String,
registry_path: String,
targets_field: String,
target_url_field: String,
target_role_field: String,
target_healthy_field: String,
target_bootstrap_port_field: String,
expected_targets: Vec<TargetRegistryExpectedTarget>,
timeout_seconds: Option<u64>,
},
ProcessAlive,
}Variants§
Http
Fields
HttpTargetRegistry
Fields
§
expected_targets: Vec<TargetRegistryExpectedTarget>ProcessAlive
Trait Implementations§
Source§impl Clone for ReadinessPlan
impl Clone for ReadinessPlan
Source§fn clone(&self) -> ReadinessPlan
fn clone(&self) -> ReadinessPlan
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 ReadinessPlan
impl Debug for ReadinessPlan
Source§impl<'de> Deserialize<'de> for ReadinessPlan
impl<'de> Deserialize<'de> for ReadinessPlan
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ReadinessPlan
impl RefUnwindSafe for ReadinessPlan
impl Send for ReadinessPlan
impl Sync for ReadinessPlan
impl Unpin for ReadinessPlan
impl UnsafeUnpin for ReadinessPlan
impl UnwindSafe for ReadinessPlan
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