pub struct PathRule {
pub pattern: String,
pub verdict: PathVerdict,
}Expand description
A single lowered filesystem path rule destined for a BPF path map.
pattern is a path prefix (e.g. /etc); the kernel probe flags any access
whose path starts with it.
Fields§
§pattern: StringPath prefix to match.
verdict: PathVerdictVerdict applied on match.
Trait Implementations§
impl Eq for PathRule
impl StructuralPartialEq for PathRule
Auto Trait Implementations§
impl Freeze for PathRule
impl RefUnwindSafe for PathRule
impl Send for PathRule
impl Sync for PathRule
impl Unpin for PathRule
impl UnsafeUnpin for PathRule
impl UnwindSafe for PathRule
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