pub enum ParseResult {
Messages(Vec<ParsedFrame>),
NeedMore,
}Expand description
Result of feeding bytes to the control stream parser.
Variants§
Messages(Vec<ParsedFrame>)
One or more complete messages were decoded.
NeedMore
Need more data — bytes are buffered internally.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParseResult
impl RefUnwindSafe for ParseResult
impl Send for ParseResult
impl Sync for ParseResult
impl Unpin for ParseResult
impl UnsafeUnpin for ParseResult
impl UnwindSafe for ParseResult
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