pub enum CanonicalEffect {
ProcessSpawn {
actor: Option<CanonicalExecutable>,
mechanism: SpawnMechanism,
},
ProcessExec {
from: Option<CanonicalExecutable>,
executable: CanonicalExecutable,
},
FilePathAccess {
actor: Option<CanonicalExecutable>,
execution_chain: Vec<CanonicalExecutable>,
operation: FileOperation,
target: CanonicalPath,
open_intent: Option<OpenIntent>,
},
FileRename {
actor: Option<CanonicalExecutable>,
execution_chain: Vec<CanonicalExecutable>,
from: CanonicalPath,
to: CanonicalPath,
},
NetworkConnectAttempt {
actor: Option<CanonicalExecutable>,
execution_chain: Vec<CanonicalExecutable>,
endpoint: CanonicalNetworkEndpoint,
},
}Variants§
ProcessSpawn
ProcessExec
FilePathAccess
Fields
§
actor: Option<CanonicalExecutable>§
execution_chain: Vec<CanonicalExecutable>§
operation: FileOperation§
target: CanonicalPath§
open_intent: Option<OpenIntent>FileRename
Fields
§
actor: Option<CanonicalExecutable>§
execution_chain: Vec<CanonicalExecutable>§
from: CanonicalPath§
to: CanonicalPathNetworkConnectAttempt
Fields
§
actor: Option<CanonicalExecutable>§
execution_chain: Vec<CanonicalExecutable>§
endpoint: CanonicalNetworkEndpointTrait Implementations§
Source§impl Clone for CanonicalEffect
impl Clone for CanonicalEffect
Source§impl Debug for CanonicalEffect
impl Debug for CanonicalEffect
Source§impl<'de> Deserialize<'de> for CanonicalEffect
impl<'de> Deserialize<'de> for CanonicalEffect
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 CanonicalEffect
Source§impl Ord for CanonicalEffect
impl Ord for CanonicalEffect
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 CanonicalEffect
impl PartialEq for CanonicalEffect
Source§impl PartialOrd for CanonicalEffect
impl PartialOrd for CanonicalEffect
Source§impl Serialize for CanonicalEffect
impl Serialize for CanonicalEffect
impl StructuralPartialEq for CanonicalEffect
Auto Trait Implementations§
impl Freeze for CanonicalEffect
impl RefUnwindSafe for CanonicalEffect
impl Send for CanonicalEffect
impl Sync for CanonicalEffect
impl Unpin for CanonicalEffect
impl UnsafeUnpin for CanonicalEffect
impl UnwindSafe for CanonicalEffect
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