pub fn new(new_primary: A, new_secondary: B, switch_after: time::Duration) -> Self {
        Self {
            new_primary,
            new_secondary,
            switch_after,
        }
    }
/// Returns a new `NewSwitchReady`.
///
/// This will forward requests to the primary service, unless it takes over
/// `switch_after` duration to become ready. If the duration is exceeded,
/// the `secondary` service is used until the primary service becomes ready again.
Returns a new `NewSwitchReady`.
This will forward requests to the primary service, unless it takes over
`switch_after` duration to become ready. If the duration is exceeded,
the `secondary` service is used until the primary service becomes ready again.
Returns a new ` NewSwitchReady ` . This will forward requests to the primary service unless it takes over ` switch_after ` duration to become ready . If the duration is exceeded the ` secondary ` service is used until the primary service becomes ready again .
pub fn new(new_primary: A, new_secondary: B, switch_after: time::Duration) -> Self {
        Self {
            new_primary,
            new_secondary,
            switch_after,
        }
    }
pub fn new ( new_primary : A , new_secondary : B , switch_after : time :: Duration ) -> Self { Self { new_primary , new_secondary , switch_after , } }
Returns a new `NewSwitchReady`.
Returns a new ` NewSwitchReady ` .
new_primary
A
new_secondary
B
switch_after
time::Duration
new_primary
A
new_secondary
B
switch_after
time::Duration