pub struct Spec {
pub processes: Vec<String>,
pub apps: Vec<String>,
pub min_level: Option<Level>,
pub pid: Option<u32>,
pub limits: Limits,
pub file: Option<FileSpec>,
}Fields§
§processes: Vec<String>§apps: Vec<String>As given: a bundle id or a name, resolved when the capture starts.
min_level: Option<Level>§pid: Option<u32>§limits: Limits§file: Option<FileSpec>Only when output is given: nothing is written to disk otherwise.
Trait Implementations§
impl StructuralPartialEq for Spec
Auto Trait Implementations§
impl Forget for Spec
impl Freeze for Spec
impl Move for Spec
impl RefUnwindSafe for Spec
impl Send for Spec
impl Sync for Spec
impl Unpin for Spec
impl UnsafeUnpin for Spec
impl UnwindSafe for Spec
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