Struct greenhook::RemoteProcess
source · pub struct RemoteProcess { /* private fields */ }
Expand description
By using RemoteProcess
, you can get some information about the supervised process.
Implementations§
source§impl RemoteProcess
impl RemoteProcess
sourcepub fn get_fd(&self, remote_fd: RawFd) -> Result<RawFd, Error>
pub fn get_fd(&self, remote_fd: RawFd) -> Result<RawFd, Error>
Get file descriptor from remote process with pidfd_getfd()
.
This function requires Linux 5.6+.
Trait Implementations§
source§impl Debug for RemoteProcess
impl Debug for RemoteProcess
Auto Trait Implementations§
impl RefUnwindSafe for RemoteProcess
impl Send for RemoteProcess
impl Sync for RemoteProcess
impl Unpin for RemoteProcess
impl UnwindSafe for RemoteProcess
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