#[non_exhaustive]pub enum RetryGuidance {
Never,
FixConfig,
AfterLeaseRelease,
}Expand description
Whether retrying a documented host refusal can help.
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.
Never
Do not retry: the same launch fails the same way.
FixConfig
Retry after fixing the host’s configuration.
AfterLeaseRelease
Retry once the other process releases the session.
Trait Implementations§
Source§impl Clone for RetryGuidance
impl Clone for RetryGuidance
impl Copy for RetryGuidance
Source§impl Debug for RetryGuidance
impl Debug for RetryGuidance
impl Eq for RetryGuidance
Source§impl PartialEq for RetryGuidance
impl PartialEq for RetryGuidance
impl StructuralPartialEq for RetryGuidance
Auto Trait Implementations§
impl Freeze for RetryGuidance
impl RefUnwindSafe for RetryGuidance
impl Send for RetryGuidance
impl Sync for RetryGuidance
impl Unpin for RetryGuidance
impl UnsafeUnpin for RetryGuidance
impl UnwindSafe for RetryGuidance
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