pub enum ProxyProgress<'a> {
NeedMore {
at_least: usize,
},
Done {
header: ProxyHeader<'a>,
consumed: usize,
},
}Available on crate feature
proxy only.Expand description
What ProxyParser::feed found.
Variants§
NeedMore
The header is incomplete: feed again with at least this many more bytes.
Done
A complete header; the bytes from consumed on are application data.
Fields
§
header: ProxyHeader<'a>The header, borrowing from the input.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ProxyProgress<'a>
impl<'a> RefUnwindSafe for ProxyProgress<'a>
impl<'a> Send for ProxyProgress<'a>
impl<'a> Sync for ProxyProgress<'a>
impl<'a> Unpin for ProxyProgress<'a>
impl<'a> UnsafeUnpin for ProxyProgress<'a>
impl<'a> UnwindSafe for ProxyProgress<'a>
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