Enum gaol::profile::Operation
[−]
[src]
pub enum Operation { FileReadAll(PathPattern), FileReadMetadata(PathPattern), NetworkOutbound(AddressPattern), SystemInfoRead, PlatformSpecific(Operation), }
An operation that this process is allowed to perform.
Variants
FileReadAll(PathPattern)
All file-related reading operations may be performed on this file.
FileReadMetadata(PathPattern)
Metadata (for example, stat
or readlink
) of this file may be read.
NetworkOutbound(AddressPattern)
Outbound network connections to the given address may be initiated.
SystemInfoRead
System information may be read (via sysctl
on Unix).
PlatformSpecific(Operation)
Platform-specific operations.
Trait Implementations
impl Clone for Operation
[src]
fn clone(&self) -> Operation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Operation
[src]
impl OperationSupport for Operation
[src]
fn support(&self) -> OperationSupportLevel
Returns an OperationSupportLevel
describing how well this operation can be allowed on this platform. Read more