pub struct ReadinessBudget {
pub poll_interval: Duration,
pub timeout: Duration,
pub relaunch_attempts: usize,
}Expand description
Per-attempt timeout, poll interval, and relaunch budget for the gate.
Fields§
§poll_interval: DurationInterval between capture-pane polls.
timeout: DurationHow long to poll for readiness within a single attempt before declaring the attempt timed out.
relaunch_attempts: usizeNumber of CLI relaunch attempts after a bare-shell timeout.
Trait Implementations§
Source§impl Clone for ReadinessBudget
impl Clone for ReadinessBudget
Source§fn clone(&self) -> ReadinessBudget
fn clone(&self) -> ReadinessBudget
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 ReadinessBudget
Source§impl Debug for ReadinessBudget
impl Debug for ReadinessBudget
Auto Trait Implementations§
impl Freeze for ReadinessBudget
impl RefUnwindSafe for ReadinessBudget
impl Send for ReadinessBudget
impl Sync for ReadinessBudget
impl Unpin for ReadinessBudget
impl UnsafeUnpin for ReadinessBudget
impl UnwindSafe for ReadinessBudget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more