pub enum HostAdapter {
Claude,
Codex,
Hermes,
OpenClaw,
}Expand description
Host adapters Lifeloop ships asset rendering and merge support for.
The on-the-wire identifier (as_str()) is the same string an
AdapterManifest::adapter_id would carry for the same harness; issue
#6 lands the full manifest registry that consumes these ids.
Variants§
Implementations§
Source§impl HostAdapter
impl HostAdapter
pub const ALL: &'static [Self]
pub fn as_str(self) -> &'static str
Sourcepub fn from_id(name: &str) -> Option<Self>
pub fn from_id(name: &str) -> Option<Self>
Recognizes both canonical ids and the historical CCD aliases (e.g.
claude-code). Returns None for unknown names.
Sourcepub fn default_mode(self) -> IntegrationMode
pub fn default_mode(self) -> IntegrationMode
Default integration mode when the host has no explicit declaration.
Trait Implementations§
Source§impl Clone for HostAdapter
impl Clone for HostAdapter
Source§fn clone(&self) -> HostAdapter
fn clone(&self) -> HostAdapter
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 HostAdapter
impl Debug for HostAdapter
Source§impl Hash for HostAdapter
impl Hash for HostAdapter
Source§impl Ord for HostAdapter
impl Ord for HostAdapter
Source§fn cmp(&self, other: &HostAdapter) -> Ordering
fn cmp(&self, other: &HostAdapter) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HostAdapter
impl PartialEq for HostAdapter
Source§fn eq(&self, other: &HostAdapter) -> bool
fn eq(&self, other: &HostAdapter) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for HostAdapter
impl PartialOrd for HostAdapter
impl Copy for HostAdapter
impl Eq for HostAdapter
impl StructuralPartialEq for HostAdapter
Auto Trait Implementations§
impl Freeze for HostAdapter
impl RefUnwindSafe for HostAdapter
impl Send for HostAdapter
impl Sync for HostAdapter
impl Unpin for HostAdapter
impl UnsafeUnpin for HostAdapter
impl UnwindSafe for HostAdapter
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.