enum HeaderStep {
NeedMore,
Payload(usize),
Lost,
}Expand description
What one more header byte told ControlFrameWalker.
Variants§
NeedMore
The header is not complete yet.
Payload(usize)
The header is complete and the message’s payload is this long.
Lost
The header cannot be read on this draft.
Auto Trait Implementations§
impl Freeze for HeaderStep
impl RefUnwindSafe for HeaderStep
impl Send for HeaderStep
impl Sync for HeaderStep
impl Unpin for HeaderStep
impl UnsafeUnpin for HeaderStep
impl UnwindSafe for HeaderStep
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