pub enum ExecInputMsg {
Stdin(Vec<u8>),
Resize {
width: u16,
height: u16,
},
Signal(i32),
Eof,
}Expand description
A message the host sends to the guest during an exec/run session.
Variants§
Stdin(Vec<u8>)
Raw bytes to forward to the process’s stdin.
Resize
Resize the pseudo-TTY.
Signal(i32)
Deliver a POSIX signal to the workload’s process group.
Eof
Signal EOF on the process’s stdin.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExecInputMsg
impl RefUnwindSafe for ExecInputMsg
impl Send for ExecInputMsg
impl Sync for ExecInputMsg
impl Unpin for ExecInputMsg
impl UnsafeUnpin for ExecInputMsg
impl UnwindSafe for ExecInputMsg
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