pub enum EdgePolicy {
MaxVisits {
limit: usize,
on_exceeded: EdgeExceededStrategy,
},
}Expand description
Runtime Policy — 显式声明的运行时拦截策略。
policy = “我现在要拦你”,参与执行控制。
Variants§
Trait Implementations§
Source§impl Clone for EdgePolicy
impl Clone for EdgePolicy
Source§fn clone(&self) -> EdgePolicy
fn clone(&self) -> EdgePolicy
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 moreAuto Trait Implementations§
impl Freeze for EdgePolicy
impl RefUnwindSafe for EdgePolicy
impl Send for EdgePolicy
impl Sync for EdgePolicy
impl Unpin for EdgePolicy
impl UnsafeUnpin for EdgePolicy
impl UnwindSafe for EdgePolicy
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