pub struct RawJsonRowStreamer { /* private fields */ }Implementations§
Source§impl RawJsonRowStreamer
impl RawJsonRowStreamer
pub fn new(stream: Decoder, rows_attrib: impl Into<String>) -> Self
pub async fn has_more_rows(&mut self) -> bool
pub async fn read_prelude(&mut self) -> HttpxResult<Vec<u8>>
pub fn epilog(&mut self) -> HttpxResult<Vec<u8>>
pub async fn next(&mut self) -> Option<HttpxResult<RawJsonRowItem>>
pub fn into_stream(self) -> impl Stream<Item = HttpxResult<RawJsonRowItem>>
Auto Trait Implementations§
impl !RefUnwindSafe for RawJsonRowStreamer
impl !Sync for RawJsonRowStreamer
impl !UnwindSafe for RawJsonRowStreamer
impl Freeze for RawJsonRowStreamer
impl Send for RawJsonRowStreamer
impl Unpin for RawJsonRowStreamer
impl UnsafeUnpin for RawJsonRowStreamer
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