pub enum InterceptAction {
Allow,
Log(Vec<Finding>),
Block(Vec<Finding>),
}Expand description
Action to take after intercepting a message.
Variants§
Allow
Allow the message to pass through
Log(Vec<Finding>)
Log the message and findings, but allow it
Block(Vec<Finding>)
Block the message
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 · 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 InterceptAction
impl RefUnwindSafe for InterceptAction
impl Send for InterceptAction
impl Sync for InterceptAction
impl Unpin 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