pub struct HostAccess {
pub env: bool,
pub files: bool,
pub exec: bool,
}Expand description
Explicit host category grants. Every profile defaults to no grants. A grant never supplies an implementation or overrides a driver’s refusal.
Fields§
§env: boolRead the process environment.
files: boolRead or write files, where the chosen driver implements the operation.
exec: boolExecute processes, where implemented. Currently refused by the drivers.
Implementations§
Source§impl HostAccess
impl HostAccess
Trait Implementations§
Source§impl Clone for HostAccess
impl Clone for HostAccess
impl Copy for HostAccess
Source§impl Debug for HostAccess
impl Debug for HostAccess
Source§impl Default for HostAccess
impl Default for HostAccess
impl Eq for HostAccess
Source§impl Hash for HostAccess
impl Hash for HostAccess
Source§impl PartialEq for HostAccess
impl PartialEq for HostAccess
impl StructuralPartialEq for HostAccess
Auto Trait Implementations§
impl Forget for HostAccess
impl Freeze for HostAccess
impl Move for HostAccess
impl RefUnwindSafe for HostAccess
impl Send for HostAccess
impl Sync for HostAccess
impl Unpin for HostAccess
impl UnsafeUnpin for HostAccess
impl UnwindSafe for HostAccess
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