pub enum SendRequest {
Http1(SendRequest<BoxBody<Bytes, Error>>),
Http2(SendRequest<BoxBody<Bytes, Error>>),
}Expand description
A wrapper around Hyper’s SendRequest that can be used with multiple HTTP versions
Variants§
Http1(SendRequest<BoxBody<Bytes, Error>>)
Http2(SendRequest<BoxBody<Bytes, Error>>)
Implementations§
Source§impl SendRequest
impl SendRequest
Auto Trait Implementations§
impl Freeze for SendRequest
impl !RefUnwindSafe for SendRequest
impl Send for SendRequest
impl Sync for SendRequest
impl Unpin for SendRequest
impl !UnwindSafe for SendRequest
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