pub enum RuntimeClientFrame {
StartShell {
cols: u16,
rows: u16,
},
StartExec {
command: Vec<String>,
timeout_ms: Option<u64>,
},
Stdin {
data_b64: String,
},
Resize {
cols: u16,
rows: u16,
},
CloseStdin,
Cancel,
}Expand description
Client-to-agent runtime debug frames, relayed by the manager.
Variants§
StartShell
Start an interactive shell with an optional initial terminal size.
StartExec
Start a non-interactive command.
Fields
Stdin
Standard input bytes, base64-encoded.
Resize
Resize the interactive terminal.
CloseStdin
Close stdin for the remote process.
Cancel
Cancel the remote process.
Trait Implementations§
Source§impl Clone for RuntimeClientFrame
impl Clone for RuntimeClientFrame
Source§fn clone(&self) -> RuntimeClientFrame
fn clone(&self) -> RuntimeClientFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuntimeClientFrame
impl Debug for RuntimeClientFrame
Source§impl<'de> Deserialize<'de> for RuntimeClientFrame
impl<'de> Deserialize<'de> for RuntimeClientFrame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RuntimeClientFrame
impl RefUnwindSafe for RuntimeClientFrame
impl Send for RuntimeClientFrame
impl Sync for RuntimeClientFrame
impl Unpin for RuntimeClientFrame
impl UnsafeUnpin for RuntimeClientFrame
impl UnwindSafe for RuntimeClientFrame
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