#[non_exhaustive]pub enum PidScope {
ExactPid,
ProcessTree,
NotApplicable,
}Expand description
How a PID identifies captured or excluded audio.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ExactPid
Only the specified PID.
ProcessTree
The root PID and its process tree.
NotApplicable
No applicable PID operation.
Trait Implementations§
impl Eq for PidScope
impl StructuralPartialEq for PidScope
Auto Trait Implementations§
impl Freeze for PidScope
impl RefUnwindSafe for PidScope
impl Send for PidScope
impl Sync for PidScope
impl Unpin for PidScope
impl UnsafeUnpin for PidScope
impl UnwindSafe for PidScope
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