pub struct MaskingUriUpToPath<'m, M: ReadableMessage>(pub &'m M);
Expand description

Wrapper around a ReadableMessage that hides the Uri-Host and Uri-Path options from view

This is used by a crate::HandlerBuilder (in particular, its path-based crate::ForkingHandler) to free the resources from the strange duty of skipping over a critical option they are unaware of.

Tuple Fields

0: &'m M

Trait Implementations

Type of an individual option, indiciating its option number and value
Produce all options in arbitrary order as an iterator Read more
Get the code (request method or response code) of the message Read more
Get the payload set in the message Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.