pub enum HTTP {
Request(Request),
Response(Response),
Error(Error),
NeedMore(usize, usize, Bytes),
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for HTTP
impl RefUnwindSafe for HTTP
impl Send for HTTP
impl Sync for HTTP
impl Unpin for HTTP
impl UnwindSafe for HTTP
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