pub enum SwitchReason {
Failed {
error: String,
},
TimedOut {
after_ms: u64,
},
}Expand description
Why a Failover chain moved on from a step.
Variants§
Trait Implementations§
Source§impl Clone for SwitchReason
impl Clone for SwitchReason
Source§impl Debug for SwitchReason
impl Debug for SwitchReason
Source§impl<'de> Deserialize<'de> for SwitchReason
impl<'de> Deserialize<'de> for SwitchReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SwitchReason
Source§impl PartialEq for SwitchReason
impl PartialEq for SwitchReason
Source§impl Serialize for SwitchReason
impl Serialize for SwitchReason
impl StructuralPartialEq for SwitchReason
Auto Trait Implementations§
impl Forget for SwitchReason
impl Freeze for SwitchReason
impl Move for SwitchReason
impl RefUnwindSafe for SwitchReason
impl Send for SwitchReasonwhere
RawVecInner: Send,
impl Sync for SwitchReasonwhere
RawVecInner: Sync,
impl Unpin for SwitchReason
impl UnsafeUnpin for SwitchReason
impl UnwindSafe for SwitchReasonwhere
RawVecInner: UnwindSafe,
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