pub enum InterceptAction {
SkipTo {
uri: String,
},
DivertCopyTo {
uri: String,
},
}Expand description
Action to apply when a send URI matches a rule.
Variants§
SkipTo
Skip the original send and redirect to the target.
DivertCopyTo
Copy the exchange to the target and continue to the real destination.
Trait Implementations§
Source§impl Clone for InterceptAction
impl Clone for InterceptAction
Source§fn clone(&self) -> InterceptAction
fn clone(&self) -> InterceptAction
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 moreSource§impl Debug for InterceptAction
impl Debug for InterceptAction
impl Eq for InterceptAction
Source§impl PartialEq for InterceptAction
impl PartialEq for InterceptAction
impl StructuralPartialEq for InterceptAction
Auto Trait Implementations§
impl Freeze for InterceptAction
impl RefUnwindSafe for InterceptAction
impl Send for InterceptAction
impl Sync for InterceptAction
impl Unpin for InterceptAction
impl UnsafeUnpin for InterceptAction
impl UnwindSafe for InterceptAction
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.