pub enum ChatOutcome {
Success(ChatResponse),
RateLimited,
InvalidRequest(String),
ServerError(String),
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChatOutcome
impl RefUnwindSafe for ChatOutcome
impl Send for ChatOutcome
impl Sync for ChatOutcome
impl Unpin for ChatOutcome
impl UnwindSafe for ChatOutcome
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