pub struct Filter {
pub processes: Vec<String>,
pub apps: Vec<AppBundle>,
pub min_level: Option<Level>,
}Expand description
What is kept on this side. A pid is filtered by the phone instead.
With neither processes nor apps every entry passes. With either, an
entry passes when it is from any listed process or any listed app;
min_level then applies on top of that.
Fields§
§processes: Vec<String>§apps: Vec<AppBundle>§min_level: Option<Level>Implementations§
Trait Implementations§
impl StructuralPartialEq for Filter
Auto Trait Implementations§
impl Forget for Filter
impl Freeze for Filter
impl Move for Filter
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnsafeUnpin for Filter
impl UnwindSafe for Filter
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