[−][src]Struct httptest::mappers::request::Body
The Body
mapper returned by body()
Trait Implementations
impl<M: Debug> Debug for Body<M>
[src]
impl<'_, M> Mapper<Request<&'_ [u8]>> for Body<M> where
M: Mapper<[u8]>,
[src]
M: Mapper<[u8]>,
type Out = M::Out
The output type.
fn map(&mut self, input: &Request<&[u8]>) -> M::Out
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
impl<'_, M> Mapper<Request<&'_ str>> for Body<M> where
M: Mapper<str>,
[src]
M: Mapper<str>,
type Out = M::Out
The output type.
fn map(&mut self, input: &Request<&str>) -> M::Out
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
impl<M> Mapper<Request<Bytes>> for Body<M> where
M: Mapper<[u8]>,
[src]
M: Mapper<[u8]>,
type Out = M::Out
The output type.
fn map(&mut self, input: &Request<Bytes>) -> M::Out
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
impl<M> Mapper<Request<Vec<u8>>> for Body<M> where
M: Mapper<[u8]>,
[src]
M: Mapper<[u8]>,
Auto Trait Implementations
impl<M> RefUnwindSafe for Body<M> where
M: RefUnwindSafe,
M: RefUnwindSafe,
impl<M> Send for Body<M> where
M: Send,
M: Send,
impl<M> Sync for Body<M> where
M: Sync,
M: Sync,
impl<M> Unpin for Body<M> where
M: Unpin,
M: Unpin,
impl<M> UnwindSafe for Body<M> where
M: UnwindSafe,
M: 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<IN, F> Mapper<IN> for F where
F: Fn(&IN) -> bool + Send,
[src]
F: Fn(&IN) -> bool + Send,
type Out = bool
The output type.
fn map(&mut Self, &IN) -> bool
[src]
fn fmt(&Self, &mut Formatter) -> Result<(), Error>
[src]
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>,