pub enum ChatCompletionResult {
Response(ChatCompletionResponse),
Delta(Receiver<Result<ChatCompletionStreamData>>),
}
Variants§
Response(ChatCompletionResponse)
Delta(Receiver<Result<ChatCompletionStreamData>>)
Auto Trait Implementations§
impl Freeze for ChatCompletionResult
impl RefUnwindSafe for ChatCompletionResult
impl Send for ChatCompletionResult
impl Sync for ChatCompletionResult
impl Unpin for ChatCompletionResult
impl UnwindSafe for ChatCompletionResult
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