pub enum ResponseDecoderNext<R> {
More((ResponseDecoder<R>, Result<BaoContentItem, DecodeError>)),
Done(R),
}
Expand description
Next type for ResponseDecoder.
Variants§
More((ResponseDecoder<R>, Result<BaoContentItem, DecodeError>))
One more item, and you get back the state machine in the next state
Done(R)
The stream is done, you get back the underlying reader
Trait Implementations§
Auto Trait Implementations§
impl<R> !Freeze for ResponseDecoderNext<R>
impl<R> !RefUnwindSafe for ResponseDecoderNext<R>
impl<R> Send for ResponseDecoderNext<R>where
R: Send,
impl<R> Sync for ResponseDecoderNext<R>where
R: Sync,
impl<R> Unpin for ResponseDecoderNext<R>where
R: Unpin,
impl<R> !UnwindSafe for ResponseDecoderNext<R>
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