pub enum GateOnFail {
Retry,
Block,
Escalate,
}Expand description
Policy when a gate fails.
Variants§
Retry
Re-run the upstream role (up to max_retries).
Block
Block downstream until resolved.
Escalate
Surface to parent / lane status after retries exhausted.
Trait Implementations§
Source§impl Clone for GateOnFail
impl Clone for GateOnFail
Source§fn clone(&self) -> GateOnFail
fn clone(&self) -> GateOnFail
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 GateOnFail
Source§impl Debug for GateOnFail
impl Debug for GateOnFail
Source§impl<'de> Deserialize<'de> for GateOnFail
impl<'de> Deserialize<'de> for GateOnFail
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 GateOnFail
Source§impl PartialEq for GateOnFail
impl PartialEq for GateOnFail
Source§impl Serialize for GateOnFail
impl Serialize for GateOnFail
impl StructuralPartialEq for GateOnFail
Auto Trait Implementations§
impl Freeze for GateOnFail
impl RefUnwindSafe for GateOnFail
impl Send for GateOnFail
impl Sync for GateOnFail
impl Unpin for GateOnFail
impl UnsafeUnpin for GateOnFail
impl UnwindSafe for GateOnFail
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