pub enum EdgeExceededStrategy {
Strict,
SoftFallback,
Drop,
}Expand description
Edge Policy 被 exceeded 时的处理策略。
Variants§
Strict
严格模式(默认)— 路径失败,回溯到上一个 decision node
SoftFallback
软降级 — 尝试其他满足 condition 的 edge → fallback → 失败
Drop
静默跳过 — 不报错,继续执行其他逻辑
Trait Implementations§
Source§impl Clone for EdgeExceededStrategy
impl Clone for EdgeExceededStrategy
Source§fn clone(&self) -> EdgeExceededStrategy
fn clone(&self) -> EdgeExceededStrategy
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 EdgeExceededStrategy
Source§impl Debug for EdgeExceededStrategy
impl Debug for EdgeExceededStrategy
Source§impl Default for EdgeExceededStrategy
impl Default for EdgeExceededStrategy
Source§fn default() -> EdgeExceededStrategy
fn default() -> EdgeExceededStrategy
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EdgeExceededStrategy
impl RefUnwindSafe for EdgeExceededStrategy
impl Send for EdgeExceededStrategy
impl Sync for EdgeExceededStrategy
impl Unpin for EdgeExceededStrategy
impl UnsafeUnpin for EdgeExceededStrategy
impl UnwindSafe for EdgeExceededStrategy
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