#[non_exhaustive]pub struct WaitUntilReadyOptions {
pub desired_state: Option<ClusterState>,
pub service_types: Option<Vec<ServiceType>>,
pub retry_strategy: Arc<dyn RetryStrategy>,
pub on_behalf_of: Option<OnBehalfOfInfo>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.desired_state: Option<ClusterState>§service_types: Option<Vec<ServiceType>>§retry_strategy: Arc<dyn RetryStrategy>§on_behalf_of: Option<OnBehalfOfInfo>Implementations§
Source§impl WaitUntilReadyOptions
impl WaitUntilReadyOptions
pub fn new() -> Self
pub fn desired_state(self, state: ClusterState) -> Self
pub fn service_types(self, service_types: Vec<ServiceType>) -> Self
pub fn retry_strategy(self, retry_strategy: Arc<dyn RetryStrategy>) -> Self
pub fn on_behalf_of(self, info: OnBehalfOfInfo) -> Self
Trait Implementations§
Source§impl Clone for WaitUntilReadyOptions
impl Clone for WaitUntilReadyOptions
Source§fn clone(&self) -> WaitUntilReadyOptions
fn clone(&self) -> WaitUntilReadyOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 WaitUntilReadyOptions
impl Debug for WaitUntilReadyOptions
Auto Trait Implementations§
impl Freeze for WaitUntilReadyOptions
impl !RefUnwindSafe for WaitUntilReadyOptions
impl Send for WaitUntilReadyOptions
impl Sync for WaitUntilReadyOptions
impl Unpin for WaitUntilReadyOptions
impl UnsafeUnpin for WaitUntilReadyOptions
impl !UnwindSafe for WaitUntilReadyOptions
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