[−][src]Struct vapix::hyper::HyperTransport
Implementations
impl<C, B> HyperTransport<C, B>
[src]
Trait Implementations
impl Default for HyperTransport<HttpConnector, Body>
[src]
impl<C, B> Into<HyperTransport<C, B>> for Client<C, B>
[src]
fn into(self) -> HyperTransport<C, B>
[src]
impl<C, B> Transport for HyperTransport<C, B> where
C: Connect + Clone + Send + Sync + 'static,
B: HttpBody + Send + 'static + From<Vec<u8>>,
B::Data: Send,
B::Error: Into<Box<dyn Error + Send + Sync>>,
[src]
C: Connect + Clone + Send + Sync + 'static,
B: HttpBody + Send + 'static + From<Vec<u8>>,
B::Data: Send,
B::Error: Into<Box<dyn Error + Send + Sync>>,
type Error = Error
The error type returned by this transport.
type Output = ResponseFuture
The Future
representing the part of the roundtrip leading to the response headers.
type Body = Body
The Future
representing the part of the roundtrip which streams the response body.
type Chunk = Bytes
The type representing a chunk of the response body.
fn roundtrip(&self, request: Request<Vec<u8>>) -> Self::Output
[src]
Auto Trait Implementations
impl<C = HttpConnector<GaiResolver>, B = Body> !RefUnwindSafe for HyperTransport<C, B>
impl<C, B> Send for HyperTransport<C, B> where
B: Send,
C: Send,
B: Send,
C: Send,
impl<C, B> Sync for HyperTransport<C, B> where
B: Send,
C: Sync,
B: Send,
C: Sync,
impl<C, B> Unpin for HyperTransport<C, B> where
C: Unpin,
C: Unpin,
impl<C = HttpConnector<GaiResolver>, B = Body> !UnwindSafe for HyperTransport<C, B>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,