pub enum EffectSubject {
FileAccess {
actor: Option<CanonicalExecutable>,
operation: FileOperation,
path: String,
},
FileRename {
actor: Option<CanonicalExecutable>,
from_path: String,
},
NetworkInet {
actor: Option<CanonicalExecutable>,
address_family: String,
ip: String,
},
NetworkUnix {
actor: Option<CanonicalExecutable>,
path: Option<String>,
},
}Variants§
Trait Implementations§
Source§impl Clone for EffectSubject
impl Clone for EffectSubject
Source§impl Debug for EffectSubject
impl Debug for EffectSubject
Source§impl<'de> Deserialize<'de> for EffectSubject
impl<'de> Deserialize<'de> for EffectSubject
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 EffectSubject
Source§impl Ord for EffectSubject
impl Ord for EffectSubject
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for EffectSubject
impl PartialEq for EffectSubject
Source§impl PartialOrd for EffectSubject
impl PartialOrd for EffectSubject
Source§impl Serialize for EffectSubject
impl Serialize for EffectSubject
impl StructuralPartialEq for EffectSubject
Auto Trait Implementations§
impl Freeze for EffectSubject
impl RefUnwindSafe for EffectSubject
impl Send for EffectSubject
impl Sync for EffectSubject
impl Unpin for EffectSubject
impl UnsafeUnpin for EffectSubject
impl UnwindSafe for EffectSubject
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