pub enum OneShotAdapterError {
UnsupportedAdapter(String),
InvalidPrompt,
InvalidLaunch,
InvalidSelection,
UnknownOption,
UnknownModel(String),
ThinkingUnsupported(String),
UnknownThinkingLevel(String),
PersistentSessionsUnsupported(String),
}Variants§
UnsupportedAdapter(String)
InvalidPrompt
InvalidLaunch
InvalidSelection
UnknownOption
UnknownModel(String)
ThinkingUnsupported(String)
UnknownThinkingLevel(String)
PersistentSessionsUnsupported(String)
Trait Implementations§
Source§impl Clone for OneShotAdapterError
impl Clone for OneShotAdapterError
Source§impl Debug for OneShotAdapterError
impl Debug for OneShotAdapterError
Source§impl Display for OneShotAdapterError
impl Display for OneShotAdapterError
impl Eq for OneShotAdapterError
Source§impl Error for OneShotAdapterError
impl Error for OneShotAdapterError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for OneShotAdapterError
impl PartialEq for OneShotAdapterError
impl StructuralPartialEq for OneShotAdapterError
Auto Trait Implementations§
impl Freeze for OneShotAdapterError
impl RefUnwindSafe for OneShotAdapterError
impl Send for OneShotAdapterError
impl Sync for OneShotAdapterError
impl Unpin for OneShotAdapterError
impl UnsafeUnpin for OneShotAdapterError
impl UnwindSafe for OneShotAdapterError
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