pub enum ClientType {
Claude,
DeepSeek,
Mock,
}
Expand description
Client type for lazy initialization
Variants§
Implementations§
Source§impl ClientType
impl ClientType
Sourcepub fn from_str(s: &str) -> Result<Self, String>
pub fn from_str(s: &str) -> Result<Self, String>
Parse client type from string (case insensitive)
Sourcepub fn mock_with_handle() -> (Self, Arc<MockHandle>)
pub fn mock_with_handle() -> (Self, Arc<MockHandle>)
Create a mock variant that returns both the client type and a handle
Trait Implementations§
Source§impl Clone for ClientType
impl Clone for ClientType
Source§fn clone(&self) -> ClientType
fn clone(&self) -> ClientType
Returns a duplicate of the value. Read more
1.0.0 · 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 ClientType
impl Debug for ClientType
Source§impl Default for ClientType
impl Default for ClientType
Source§impl Display for ClientType
impl Display for ClientType
Source§impl Into<Box<dyn LowLevelClient>> for ClientType
impl Into<Box<dyn LowLevelClient>> for ClientType
Source§fn into(self) -> Box<dyn LowLevelClient>
fn into(self) -> Box<dyn LowLevelClient>
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for ClientType
impl RefUnwindSafe for ClientType
impl Send for ClientType
impl Sync for ClientType
impl Unpin for ClientType
impl UnwindSafe for ClientType
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