pub struct DefaultStreamResponseSpec { /* private fields */ }Trait Implementations§
Source§impl StreamResponseSpec for DefaultStreamResponseSpec
impl StreamResponseSpec for DefaultStreamResponseSpec
fn chat_response<'life0, 'async_trait, S>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = impl Stream<Item = ChatResponse> + Send + 'static> + Send + 'async_trait>>where
S: 'async_trait,
Self: 'async_trait,
'life0: 'async_trait,
fn content<'life0, 'async_trait, S>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = impl Stream<Item = ChatResponse> + Send + 'static> + Send + 'async_trait>>where
S: 'async_trait,
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for DefaultStreamResponseSpec
impl !RefUnwindSafe for DefaultStreamResponseSpec
impl Send for DefaultStreamResponseSpec
impl Sync for DefaultStreamResponseSpec
impl Unpin for DefaultStreamResponseSpec
impl !UnwindSafe for DefaultStreamResponseSpec
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