pub enum ViolationAction {
Block,
BlockAndLog,
BlockAndTerminate,
}Expand description
Action when a secret placeholder is detected going to a disallowed host.
Variants§
Block
Block the request silently.
BlockAndLog
Block and log (default).
BlockAndTerminate
Block and terminate the sandbox.
Trait Implementations§
Source§impl Clone for ViolationAction
impl Clone for ViolationAction
Source§fn clone(&self) -> ViolationAction
fn clone(&self) -> ViolationAction
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 moreSource§impl Debug for ViolationAction
impl Debug for ViolationAction
Source§impl Default for ViolationAction
impl Default for ViolationAction
Source§fn default() -> ViolationAction
fn default() -> ViolationAction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ViolationAction
impl<'de> Deserialize<'de> for ViolationAction
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
Auto Trait Implementations§
impl Freeze for ViolationAction
impl RefUnwindSafe for ViolationAction
impl Send for ViolationAction
impl Sync for ViolationAction
impl Unpin for ViolationAction
impl UnsafeUnpin for ViolationAction
impl UnwindSafe for ViolationAction
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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