pub struct ShellSessionExecParams {
pub session_id: SessionId,
pub line: String,
pub cursor: u64,
pub wait_ms: Option<u64>,
}Expand description
shell_session_exec request: send ONE line to a live session shell.
The line is bounded by MAX_SESSION_LINE_BYTES; a trailing newline
is appended by the daemon (do NOT include it). Output is read back as
combed signals from the session bucket via the cursor.
Fields§
§session_id: SessionId§line: StringThe shell line to run (no trailing newline). Bounded by
MAX_SESSION_LINE_BYTES.
cursor: u64Cursor into the session bucket to read combed signals from. Omit /
0 to read from the bucket head. The response returns the next
cursor for the following exec.
wait_ms: Option<u64>Bounded wait (ms) for combed signals to appear after the line is
written, clamped server-side to MAX_BUCKET_WAIT_MS. Omit for
the default settle window.
Trait Implementations§
Source§impl Clone for ShellSessionExecParams
impl Clone for ShellSessionExecParams
Source§fn clone(&self) -> ShellSessionExecParams
fn clone(&self) -> ShellSessionExecParams
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 ShellSessionExecParams
impl Debug for ShellSessionExecParams
Source§impl<'de> Deserialize<'de> for ShellSessionExecParams
impl<'de> Deserialize<'de> for ShellSessionExecParams
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 ShellSessionExecParams
impl RefUnwindSafe for ShellSessionExecParams
impl Send for ShellSessionExecParams
impl Sync for ShellSessionExecParams
impl Unpin for ShellSessionExecParams
impl UnsafeUnpin for ShellSessionExecParams
impl UnwindSafe for ShellSessionExecParams
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