[−][src]Struct drogue_http_client::Request
The ongoing HTTP request.
Implementations
impl<IN, R> Request<IN, R> where
IN: ArrayLength<u8>,
R: ResponseHandler,
[src]
IN: ArrayLength<u8>,
R: ResponseHandler,
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,
R: RefUnwindSafe,
<IN as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
impl<IN, R> Send for Request<IN, R> where
R: Send,
R: Send,
impl<IN, R> Sync for Request<IN, R> where
R: Sync,
R: Sync,
impl<IN, R> Unpin for Request<IN, R> where
R: Unpin,
<IN as ArrayLength<u8>>::ArrayType: Unpin,
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,
R: UnwindSafe,
<IN as ArrayLength<u8>>::ArrayType: UnwindSafe,
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, 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>,