pub enum SecretViolationAction {
Block,
BlockAndLog,
BlockAndTerminate,
}Expand description
Action when a secret placeholder is not allowed to leave the sandbox.
Variants§
Block
Block the request silently.
BlockAndLog
Block and log (default).
BlockAndTerminate
Block and terminate the sandbox.
Trait Implementations§
Source§impl Clone for SecretViolationAction
impl Clone for SecretViolationAction
Source§fn clone(&self) -> SecretViolationAction
fn clone(&self) -> SecretViolationAction
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 SecretViolationAction
impl Debug for SecretViolationAction
Source§impl Default for SecretViolationAction
impl Default for SecretViolationAction
Source§fn default() -> SecretViolationAction
fn default() -> SecretViolationAction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecretViolationAction
impl<'de> Deserialize<'de> for SecretViolationAction
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
impl Eq for SecretViolationAction
Source§impl From<CloudViolationAction> for SecretViolationAction
impl From<CloudViolationAction> for SecretViolationAction
Source§fn from(action: CloudViolationAction) -> Self
fn from(action: CloudViolationAction) -> Self
Converts to this type from the input type.
Source§impl From<SecretViolationAction> for CloudViolationAction
impl From<SecretViolationAction> for CloudViolationAction
Source§fn from(action: SecretViolationAction) -> Self
fn from(action: SecretViolationAction) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SecretViolationAction
impl PartialEq for SecretViolationAction
Source§impl Serialize for SecretViolationAction
impl Serialize for SecretViolationAction
impl StructuralPartialEq for SecretViolationAction
Auto Trait Implementations§
impl Freeze for SecretViolationAction
impl RefUnwindSafe for SecretViolationAction
impl Send for SecretViolationAction
impl Sync for SecretViolationAction
impl Unpin for SecretViolationAction
impl UnsafeUnpin for SecretViolationAction
impl UnwindSafe for SecretViolationAction
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