[][src]Struct vapix::hyper::HyperTransport

pub struct HyperTransport<C = HttpConnector, B = Body>(_);

Implementations

impl<C, B> HyperTransport<C, B>[src]

pub fn new(client: Client<C, B>) -> Self[src]

pub fn into_inner(self) -> Client<C, B>[src]

Trait Implementations

impl Default for HyperTransport<HttpConnector, Body>[src]

impl<C, B> Into<HyperTransport<C, B>> for Client<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]

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.

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

impl<C, B> Sync for HyperTransport<C, B> where
    B: Send,
    C: Sync

impl<C, B> Unpin for HyperTransport<C, B> where
    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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,