[][src]Struct drogue_http_client::Request

pub struct Request<IN, R> where
    IN: ArrayLength<u8>,
    R: ResponseHandler
{ /* fields omitted */ }

The ongoing HTTP request.

Implementations

impl<IN, R> Request<IN, R> where
    IN: ArrayLength<u8>,
    R: ResponseHandler
[src]

pub fn is_complete(&self) -> bool[src]

Check if the request is completely processed.

pub fn push_data(&mut self, data: &[u8])[src]

Push more inbound data to the HTTP processing.

pub fn push_close(&mut self)[src]

Notify the HTTP processing that the source has closed.

pub fn complete(self) -> (HttpConnection<IN>, R)[src]

Stop processing the request, gives back the handler and connection.

Auto Trait Implementations

impl<IN, R> RefUnwindSafe for Request<IN, R> where
    R: RefUnwindSafe,
    <IN as ArrayLength<u8>>::ArrayType: RefUnwindSafe

impl<IN, R> Send for Request<IN, R> where
    R: Send

impl<IN, R> Sync for Request<IN, R> where
    R: Sync

impl<IN, R> Unpin for Request<IN, R> where
    R: Unpin,
    <IN as ArrayLength<u8>>::ArrayType: Unpin

impl<IN, R> UnwindSafe for Request<IN, R> where
    R: UnwindSafe,
    <IN as ArrayLength<u8>>::ArrayType: 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> 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.