Struct http_sign::request::OwnedHttpRequest [−][src]
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]
method: Method,
path: String,
query_string: Option<String>,
headers: H,
body: Vec<u8>
) -> Self
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]
Auto Trait Implementations
impl<H> RefUnwindSafe for OwnedHttpRequest<H> where
H: RefUnwindSafe,
H: RefUnwindSafe,
impl<H> Send for OwnedHttpRequest<H> where
H: Send,
H: Send,
impl<H> Sync for OwnedHttpRequest<H> where
H: Sync,
H: Sync,
impl<H> Unpin for OwnedHttpRequest<H> where
H: Unpin,
H: Unpin,
impl<H> UnwindSafe for OwnedHttpRequest<H> where
H: UnwindSafe,
H: 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,
pub 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, 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.
pub 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>,