pub enum RuntimeHttpReloadError {
ListenerDisabled,
ListenerAddressChanged,
StaleGeneration,
ReloadInProgress,
InvalidPolicy,
HealthGateFailed(HttpReloadPhase),
DrainTimedOut,
RollbackDrainTimedOut,
}Expand description
Controlled, redacted reload failure.
Variants§
ListenerDisabled
Reload requires an enabled listener.
ListenerAddressChanged
A candidate attempted to change the listener address in-place.
StaleGeneration
Generation identifiers must increase monotonically.
ReloadInProgress
Another reload transaction already owns the coordinator.
InvalidPolicy
Health or drain deadlines must be non-zero.
HealthGateFailed(HttpReloadPhase)
The candidate or active generation failed its health gate.
DrainTimedOut
The outgoing generation did not drain before rollback.
RollbackDrainTimedOut
The failed generation remained active past the rollback drain deadline.
Trait Implementations§
Source§impl Clone for RuntimeHttpReloadError
impl Clone for RuntimeHttpReloadError
Source§fn clone(&self) -> RuntimeHttpReloadError
fn clone(&self) -> RuntimeHttpReloadError
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 RuntimeHttpReloadError
Source§impl Debug for RuntimeHttpReloadError
impl Debug for RuntimeHttpReloadError
Source§impl Display for RuntimeHttpReloadError
impl Display for RuntimeHttpReloadError
impl Eq for RuntimeHttpReloadError
Source§impl Error for RuntimeHttpReloadError
impl Error for RuntimeHttpReloadError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for RuntimeHttpReloadError
impl PartialEq for RuntimeHttpReloadError
impl StructuralPartialEq for RuntimeHttpReloadError
Auto Trait Implementations§
impl Freeze for RuntimeHttpReloadError
impl RefUnwindSafe for RuntimeHttpReloadError
impl Send for RuntimeHttpReloadError
impl Sync for RuntimeHttpReloadError
impl Unpin for RuntimeHttpReloadError
impl UnsafeUnpin for RuntimeHttpReloadError
impl UnwindSafe for RuntimeHttpReloadError
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