Struct coap_handler_implementations::helpers::MaskingUriUpToPath [−][src]
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
See code; also used with MinimalWritableMessage::set_code()
type MessageOption = M::MessageOption
type MessageOption = M::MessageOption
Type of an individual option, indiciating its option number and value
type OptionsIter = MaskingUriUpToPathIter<M::OptionsIter>
type OptionsIter = MaskingUriUpToPathIter<M::OptionsIter>
See options
Produce all options in arbitrary order as an iterator Read more
Get the code (request method or response code) of the message Read more