pub enum AcpPromptWireShape {
ParamsObject,
MethodEnvelope,
PlainText,
}Expand description
How ACP prompt bytes are shaped for the Connector input path.
Variants§
ParamsObject
JSON object { "prompt": [ { "type":"text", "text": ... } ] } (Grok bridge).
MethodEnvelope
Full JSON-RPC request without id: { "method":"session/prompt", "params": ... }.
PlainText
Plain UTF-8 user text only (Cursor/Codex/Agy prompt_text bridges).
Trait Implementations§
Source§impl Clone for AcpPromptWireShape
impl Clone for AcpPromptWireShape
Source§fn clone(&self) -> AcpPromptWireShape
fn clone(&self) -> AcpPromptWireShape
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 moreimpl Copy for AcpPromptWireShape
Source§impl Debug for AcpPromptWireShape
impl Debug for AcpPromptWireShape
Source§impl Default for AcpPromptWireShape
impl Default for AcpPromptWireShape
Source§fn default() -> AcpPromptWireShape
fn default() -> AcpPromptWireShape
Returns the “default value” for a type. Read more
impl Eq for AcpPromptWireShape
Source§impl PartialEq for AcpPromptWireShape
impl PartialEq for AcpPromptWireShape
impl StructuralPartialEq for AcpPromptWireShape
Auto Trait Implementations§
impl Freeze for AcpPromptWireShape
impl RefUnwindSafe for AcpPromptWireShape
impl Send for AcpPromptWireShape
impl Sync for AcpPromptWireShape
impl Unpin for AcpPromptWireShape
impl UnsafeUnpin for AcpPromptWireShape
impl UnwindSafe for AcpPromptWireShape
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.