pub struct ProcessRunner { /* private fields */ }Implementations§
Source§impl ProcessRunner
impl ProcessRunner
pub fn from_binary_extractor(binary_path: impl AsRef<Path>) -> Self
pub fn with_args<I, S>(self, args: I) -> Self
pub fn with_seed_pids(self, seeds: &[PidSeed]) -> Self
Trait Implementations§
Source§impl Runner for ProcessRunner
impl Runner for ProcessRunner
Source§fn run<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<EventStream, RunnerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn run<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<EventStream, RunnerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Run the data collection and return a stream of events
Source§fn add_analyzer(self, analyzer: Box<dyn Analyzer>) -> Self
fn add_analyzer(self, analyzer: Box<dyn Analyzer>) -> Self
Add an analyzer to this runner’s processing chain
Auto Trait Implementations§
impl !RefUnwindSafe for ProcessRunner
impl !UnwindSafe for ProcessRunner
impl Freeze for ProcessRunner
impl Send for ProcessRunner
impl Sync for ProcessRunner
impl Unpin for ProcessRunner
impl UnsafeUnpin for ProcessRunner
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