pub struct ControlMatcher<'a> { /* private fields */ }Expand description
A path-bound view over the controls that may govern it.
Implementations§
Source§impl ControlMatcher<'_>
impl ControlMatcher<'_>
Sourcepub fn is_ignored(&self, is_dir: bool) -> bool
pub fn is_ignored(&self, is_dir: bool) -> bool
Decide this path assuming its retained parent is not ignored.
A caller with retained facts already knows the parent’s effective classification, so it can stop immediately when that parent is ignored. Otherwise every control directory on this path is active and the deepest matching opinion wins.
Auto Trait Implementations§
impl<'a> Freeze for ControlMatcher<'a>
impl<'a> RefUnwindSafe for ControlMatcher<'a>
impl<'a> Send for ControlMatcher<'a>
impl<'a> Sync for ControlMatcher<'a>
impl<'a> Unpin for ControlMatcher<'a>
impl<'a> UnsafeUnpin for ControlMatcher<'a>
impl<'a> UnwindSafe for ControlMatcher<'a>
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