pub enum ProtocolAdapter {
Claude,
Codex,
}Expand description
Adapter targeted by a render. Renderer dispatch is keyed on this.
The wire string mirrors the canonical adapter id used elsewhere
(AdapterManifest::adapter_id, crate::host_assets::HostAdapter).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ProtocolAdapter
impl Clone for ProtocolAdapter
Source§fn clone(&self) -> ProtocolAdapter
fn clone(&self) -> ProtocolAdapter
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 ProtocolAdapter
impl Debug for ProtocolAdapter
Source§impl<'de> Deserialize<'de> for ProtocolAdapter
impl<'de> Deserialize<'de> for ProtocolAdapter
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
Source§impl Hash for ProtocolAdapter
impl Hash for ProtocolAdapter
Source§impl PartialEq for ProtocolAdapter
impl PartialEq for ProtocolAdapter
Source§fn eq(&self, other: &ProtocolAdapter) -> bool
fn eq(&self, other: &ProtocolAdapter) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProtocolAdapter
impl Serialize for ProtocolAdapter
impl Copy for ProtocolAdapter
impl Eq for ProtocolAdapter
impl StructuralPartialEq for ProtocolAdapter
Auto Trait Implementations§
impl Freeze for ProtocolAdapter
impl RefUnwindSafe for ProtocolAdapter
impl Send for ProtocolAdapter
impl Sync for ProtocolAdapter
impl Unpin for ProtocolAdapter
impl UnsafeUnpin for ProtocolAdapter
impl UnwindSafe for ProtocolAdapter
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
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§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.