Struct http_sign::request::OwnedHttpRequest[][src]

pub struct OwnedHttpRequest<H> { /* fields omitted */ }

This is a simple implementation of HttpRequest that does not depend on any external library. It owns all of the request data.

Implementations

impl<H> OwnedHttpRequest<H>[src]

pub fn new(
    method: Method,
    path: String,
    query_string: Option<String>,
    headers: H,
    body: Vec<u8>
) -> Self
[src]

Build a new OwnedHttpRequest from owned components.

Trait Implementations

impl<H: Debug> Debug for OwnedHttpRequest<H>[src]

impl<H: Headers> HttpRequest for OwnedHttpRequest<H>[src]

type Headers = H

The type of HTTP headers object.

Auto Trait Implementations

impl<H> RefUnwindSafe for OwnedHttpRequest<H> where
    H: RefUnwindSafe

impl<H> Send for OwnedHttpRequest<H> where
    H: Send

impl<H> Sync for OwnedHttpRequest<H> where
    H: Sync

impl<H> Unpin for OwnedHttpRequest<H> where
    H: Unpin

impl<H> UnwindSafe for OwnedHttpRequest<H> where
    H: 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.