pub struct Qrexec {
pub child: Child,
pub stdout: ChildStdout,
pub stdin: ChildStdin,
pub stderr: ChildStderr,
}Fields§
§child: Child§stdout: ChildStdout§stdin: ChildStdin§stderr: ChildStderrImplementations§
Source§impl Qrexec
impl Qrexec
Sourcepub fn new(args: &[&str]) -> QRXRes<Self>
pub fn new(args: &[&str]) -> QRXRes<Self>
Calls qrexec-client-vm with the arguments provided through the args parameter.
§Examples
let qrx = Qrexec::new(&[
"--buffer-size=10",
"target_vmname",
"rpc_service_on_target_vmname",
]);
Qrexec::write(&mut qrx.stdin, &[0, 1, 2])?;Trait Implementations§
Auto Trait Implementations§
impl Freeze for Qrexec
impl RefUnwindSafe for Qrexec
impl Send for Qrexec
impl Sync for Qrexec
impl Unpin for Qrexec
impl UnwindSafe for Qrexec
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