pub struct Allowance {
pub kind: Kind,
pub rule: String,
pub patterns: Vec<String>,
pub message: String,
}Expand description
Accesses OS layers allow although the hook would not (ADR-019: the only way an OS layer may be wider than the hook, and always listed).
Fields§
§kind: KindThe access the allowance applies to.
rule: StringWhere it comes from (sandbox.read_roots).
patterns: Vec<String>Expanded globs: each root and everything below it.
message: StringWhat the hook does and what OS layers do instead.
Trait Implementations§
impl Eq for Allowance
impl StructuralPartialEq for Allowance
Auto Trait Implementations§
impl Freeze for Allowance
impl RefUnwindSafe for Allowance
impl Send for Allowance
impl Sync for Allowance
impl Unpin for Allowance
impl UnsafeUnpin for Allowance
impl UnwindSafe for Allowance
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