pub struct StreamedGeminiResponse {
pub response_stream: Option<Pin<Box<dyn Stream<Item = Result<Value, StreamBodyError>> + Send>>>,
}Fields§
§response_stream: Option<Pin<Box<dyn Stream<Item = Result<Value, StreamBodyError>> + Send>>>Trait Implementations§
Source§impl Debug for StreamedGeminiResponse
impl Debug for StreamedGeminiResponse
Source§impl Default for StreamedGeminiResponse
impl Default for StreamedGeminiResponse
Source§fn default() -> StreamedGeminiResponse
fn default() -> StreamedGeminiResponse
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StreamedGeminiResponse
impl !RefUnwindSafe for StreamedGeminiResponse
impl Send for StreamedGeminiResponse
impl !Sync for StreamedGeminiResponse
impl Unpin for StreamedGeminiResponse
impl !UnwindSafe for StreamedGeminiResponse
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