pub struct DeviceInfoClient<S> { /* private fields */ }Expand description
Fetch sysmon system/process attributes needed for sysmontap setConfig:.
Implementations§
Source§impl<S: AsyncRead + AsyncWrite + Unpin + Send> DeviceInfoClient<S>
impl<S: AsyncRead + AsyncWrite + Unpin + Send> DeviceInfoClient<S>
pub async fn connect(stream: S) -> Result<Self, DtxError>
pub async fn system_attributes(&mut self) -> Result<Vec<Value>, DtxError>
pub async fn process_attributes(&mut self) -> Result<Vec<Value>, DtxError>
Sourcepub async fn running_processes(
&mut self,
) -> Result<Vec<RunningProcess>, DtxError>
pub async fn running_processes( &mut self, ) -> Result<Vec<RunningProcess>, DtxError>
List all running processes on the device.
Auto Trait Implementations§
impl<S> Freeze for DeviceInfoClient<S>where
S: Freeze,
impl<S> RefUnwindSafe for DeviceInfoClient<S>where
S: RefUnwindSafe,
impl<S> Send for DeviceInfoClient<S>where
S: Send,
impl<S> Sync for DeviceInfoClient<S>where
S: Sync,
impl<S> Unpin for DeviceInfoClient<S>where
S: Unpin,
impl<S> UnsafeUnpin for DeviceInfoClient<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for DeviceInfoClient<S>where
S: UnwindSafe,
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