pub struct TextStreamFormat;Implementations§
Trait Implementations§
Source§impl StreamingFormat<String> for TextStreamFormat
impl StreamingFormat<String> for TextStreamFormat
fn to_bytes_stream<'a, 'b>( &'a self, stream: BoxStream<'b, Result<String, Error>>, _: &'a StreamBodyAsOptions, ) -> BoxStream<'b, Result<Bytes, Error>>
fn http_response_headers( &self, options: &StreamBodyAsOptions, ) -> Option<HeaderMap>
Auto Trait Implementations§
impl Freeze for TextStreamFormat
impl RefUnwindSafe for TextStreamFormat
impl Send for TextStreamFormat
impl Sync for TextStreamFormat
impl Unpin for TextStreamFormat
impl UnsafeUnpin for TextStreamFormat
impl UnwindSafe for TextStreamFormat
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