Skip to main content

Request

Enum Request 

Source
pub enum Request {
Show 32 variants Hello { protocol: u32, }, Snapshot, Poll { after_revision: u64, timeout_ms: u64, tui: Option<TuiClientPresence>, }, SynchronizeProjects { projects: Vec<ProjectSpec>, }, SessionCreate { worktree_id: WorktreeId, label: String, command: Vec<String>, initial_input: Option<String>, rows: u16, cols: u16, }, SessionRename { session_id: SessionId, label: String, expected_revision: u64, }, SessionReorder { session_id: SessionId, target_session_id: SessionId, placement: SessionPlacement, expected_revision: u64, }, SessionClose { session_id: SessionId, expected_revision: u64, }, PaneSplit { session_id: SessionId, target: PaneId, axis: SplitAxis, label: String, command: Vec<String>, initial_input: Option<String>, rows: u16, cols: u16, expected_revision: u64, }, PaneFocus { session_id: SessionId, pane_id: PaneId, }, PaneClose { pane_id: PaneId, expected_revision: u64, }, TerminalAcquire { pane_id: PaneId, client_id: u64, takeover: bool, }, TerminalRelease { pane_id: PaneId, client_id: u64, }, TerminalHeartbeat { pane_id: PaneId, client_id: u64, }, TerminalSubscribe { pane_id: PaneId, client_id: u64, takeover: bool, rows: u16, cols: u16, }, TerminalInput { pane_id: PaneId, client_id: u64, bytes: Vec<u8>, }, TerminalKey { pane_id: PaneId, client_id: u64, key: KeyEvent, }, TerminalPaste { pane_id: PaneId, client_id: u64, text: String, }, TerminalMouse { pane_id: PaneId, client_id: u64, mouse: MouseEvent, }, TerminalResize { pane_id: PaneId, client_id: u64, rows: u16, cols: u16, }, View { pane_ids: Vec<PaneId>, }, AgentReport { pane_id: PaneId, runtime_generation: Option<String>, provider: String, state: AgentState, conversation_id: Option<String>, session_ref: Option<AgentSessionRef>, capabilities: AgentCapabilities, }, AgentClear { pane_id: PaneId, runtime_generation: String, next_runtime_generation: String, }, PluginList, PluginReload, PluginReviewCancel { request_id: String, }, PluginReview { plugin_id: String, worktree_id: WorktreeId, request_id: String, comparison: ReviewComparison, limits: ReviewLimits, operation: ReviewOperation, }, PluginRender { plugin_id: String, pane_id: PaneId, columns: u16, rows: u16, generation: u64, }, LifecycleStatus, PrepareReplacement { target_binary_id: String, target_daemon_revision: u32, }, PrepareHandoff { target_binary_id: String, target_version: String, target_protocol: u32, target_daemon_revision: u32, executable: PathBuf, }, Shutdown,
}

Variants§

§

Hello

Fields

§protocol: u32
§

Snapshot

§

Poll

Fields

§after_revision: u64
§timeout_ms: u64
§

SynchronizeProjects

Fields

§projects: Vec<ProjectSpec>
§

SessionCreate

Fields

§worktree_id: WorktreeId
§label: String
§command: Vec<String>
§initial_input: Option<String>
§rows: u16
§cols: u16
§

SessionRename

Fields

§session_id: SessionId
§label: String
§expected_revision: u64
§

SessionReorder

Fields

§session_id: SessionId
§target_session_id: SessionId
§expected_revision: u64
§

SessionClose

Fields

§session_id: SessionId
§expected_revision: u64
§

PaneSplit

Fields

§session_id: SessionId
§target: PaneId
§label: String
§command: Vec<String>
§initial_input: Option<String>
§rows: u16
§cols: u16
§expected_revision: u64
§

PaneFocus

Fields

§session_id: SessionId
§pane_id: PaneId
§

PaneClose

Fields

§pane_id: PaneId
§expected_revision: u64
§

TerminalAcquire

Fields

§pane_id: PaneId
§client_id: u64
§takeover: bool
§

TerminalRelease

Fields

§pane_id: PaneId
§client_id: u64
§

TerminalHeartbeat

Fields

§pane_id: PaneId
§client_id: u64
§

TerminalSubscribe

Fields

§pane_id: PaneId
§client_id: u64
§takeover: bool
§rows: u16
§cols: u16
§

TerminalInput

Fields

§pane_id: PaneId
§client_id: u64
§bytes: Vec<u8>
§

TerminalKey

Fields

§pane_id: PaneId
§client_id: u64
§

TerminalPaste

Fields

§pane_id: PaneId
§client_id: u64
§text: String
§

TerminalMouse

Fields

§pane_id: PaneId
§client_id: u64
§

TerminalResize

Fields

§pane_id: PaneId
§client_id: u64
§rows: u16
§cols: u16
§

View

Fields

§pane_ids: Vec<PaneId>
§

AgentReport

Fields

§pane_id: PaneId
§runtime_generation: Option<String>
§provider: String
§conversation_id: Option<String>
§capabilities: AgentCapabilities
§

AgentClear

Fields

§pane_id: PaneId
§runtime_generation: String
§next_runtime_generation: String
§

PluginList

§

PluginReload

§

PluginReviewCancel

Fields

§request_id: String
§

PluginReview

Fields

§plugin_id: String
§worktree_id: WorktreeId
§request_id: String
§comparison: ReviewComparison
§

PluginRender

Fields

§plugin_id: String
§pane_id: PaneId
§columns: u16
§rows: u16
§generation: u64
§

LifecycleStatus

§

PrepareReplacement

Fields

§target_binary_id: String
§target_daemon_revision: u32
§

PrepareHandoff

Fields

§target_binary_id: String
§target_version: String
§target_protocol: u32
§target_daemon_revision: u32
§executable: PathBuf
§

Shutdown

Trait Implementations§

Source§

impl Clone for Request

Source§

fn clone(&self) -> Request

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Request

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Request

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Eq for Request

Source§

impl PartialEq for Request

Source§

fn eq(&self, other: &Request) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for Request

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for Request

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.