Enum bao_tree::io::fsm::ResponseDecoderReadingNext
source · pub enum ResponseDecoderReadingNext<R> {
More((ResponseDecoderReading<R>, Result<BaoContentItem, DecodeError>)),
Done(R),
}
Expand description
Next type for ResponseDecoderReading.
Variants§
More((ResponseDecoderReading<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> !RefUnwindSafe for ResponseDecoderReadingNext<R>
impl<R> Send for ResponseDecoderReadingNext<R>where
R: Send,
impl<R> Sync for ResponseDecoderReadingNext<R>where
R: Sync,
impl<R> Unpin for ResponseDecoderReadingNext<R>where
R: Unpin,
impl<R> !UnwindSafe for ResponseDecoderReadingNext<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