[−][src]Struct remoteprocess::Process
Fields
pid: Pid
Implementations
impl Process
[src]
pub fn new(pid: Pid) -> Result<Process, Error>
[src]
pub fn exe(&self) -> Result<String, Error>
[src]
pub fn cwd(&self) -> Result<String, Error>
[src]
pub fn cmdline(&self) -> Result<Vec<String>, Error>
[src]
pub fn lock(&self) -> Result<Lock, Error>
[src]
pub fn threads(&self) -> Result<Vec<Thread>, Error>
[src]
pub fn child_processes(&self) -> Result<Vec<(Pid, Pid)>, Error>
[src]
Trait Implementations
impl ProcessMemory for Process
[src]
pub fn read(&self, addr: usize, buf: &mut [u8]) -> Result<(), Error>
[src]
pub fn copy(&self, addr: usize, length: usize) -> Result<Vec<u8>, Error>
[src]
pub fn copy_struct<T>(&self, addr: usize) -> Result<T, Error>
[src]
pub fn copy_pointer<T>(&self, ptr: *const T) -> Result<T, Error>
[src]
pub fn copy_vec<T>(&self, addr: usize, length: usize) -> Result<Vec<T>, Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for Process
[src]
impl Send for Process
[src]
impl Sync for Process
[src]
impl Unpin for Process
[src]
impl UnwindSafe for Process
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,