pub enum PathVerdict {
Allow,
Deny,
}Expand description
Whether matching a path rule allows or denies the operation in-kernel.
Mirrors aa_ebpf::maps::PathVerdict; kept here so the leaf crate has no
dependency on aa-ebpf (the dependency points the other way — the loader
daemon consumes this crate).
Variants§
Allow
The path is allowed — no policy violation.
Deny
The path is blocked — triggers a policy violation event.
Trait Implementations§
Source§impl Clone for PathVerdict
impl Clone for PathVerdict
Source§fn clone(&self) -> PathVerdict
fn clone(&self) -> PathVerdict
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PathVerdict
Source§impl Debug for PathVerdict
impl Debug for PathVerdict
impl Eq for PathVerdict
Source§impl PartialEq for PathVerdict
impl PartialEq for PathVerdict
impl StructuralPartialEq for PathVerdict
Auto Trait Implementations§
impl Freeze for PathVerdict
impl RefUnwindSafe for PathVerdict
impl Send for PathVerdict
impl Sync for PathVerdict
impl Unpin for PathVerdict
impl UnsafeUnpin for PathVerdict
impl UnwindSafe for PathVerdict
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