[][src]Struct solicit::http::client::RequestStream

pub struct RequestStream<'n, 'v, S> where
    S: Stream
{ pub headers: Vec<Header<'n, 'v>>, pub stream: S, }

A struct representing a request stream. It provides the headers that are to be sent when initiating the request, as well as a Stream instance that handles the received response and provides the request body.

Fields

headers: Vec<Header<'n, 'v>>

The list of headers that will be sent with the request.

stream: S

The underlying Stream instance, which will handle the response, as well as optionally provide the body of the request.

Auto Trait Implementations

impl<'n, 'v, S> RefUnwindSafe for RequestStream<'n, 'v, S> where
    S: RefUnwindSafe

impl<'n, 'v, S> Send for RequestStream<'n, 'v, S> where
    S: Send

impl<'n, 'v, S> Sync for RequestStream<'n, 'v, S> where
    S: Sync

impl<'n, 'v, S> Unpin for RequestStream<'n, 'v, S> where
    S: Unpin

impl<'n, 'v, S> UnwindSafe for RequestStream<'n, 'v, S> where
    S: UnwindSafe

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, U> Into<U> for T where
    U: From<T>, 
[src]

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.