pub struct TaintSettings {
pub protected_writes: Vec<String>,
}Expand description
The taint: section. Absent in policies written before it existed.
Fields§
§protected_writes: Vec<String>Path globs a write to asks once the session read untrusted content, in
addition to the built-in list, which a policy cannot shorten. No !
exclusions, for the same reason.
Trait Implementations§
Source§impl Clone for TaintSettings
impl Clone for TaintSettings
Source§impl Debug for TaintSettings
impl Debug for TaintSettings
Source§impl Default for TaintSettings
impl Default for TaintSettings
Source§impl<'de> Deserialize<'de> for TaintSettings
impl<'de> Deserialize<'de> for TaintSettings
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 TaintSettings
Source§impl PartialEq for TaintSettings
impl PartialEq for TaintSettings
Source§impl Serialize for TaintSettings
impl Serialize for TaintSettings
impl StructuralPartialEq for TaintSettings
Auto Trait Implementations§
impl Freeze for TaintSettings
impl RefUnwindSafe for TaintSettings
impl Send for TaintSettings
impl Sync for TaintSettings
impl Unpin for TaintSettings
impl UnsafeUnpin for TaintSettings
impl UnwindSafe for TaintSettings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.