Struct coap_handler_implementations::wkc::NotReporting [−][src]
pub struct NotReporting<H: Handler>(_);Expand description
Wrapper around arbitrary Handlers to make them not report in .well-known/core.
This helps integrating handler implementations that do not yet also implement Reporting by providing a blank report.
(With specialization, this could be moved into the default implementation).
Implementations
Trait Implementations
type RequestData = H::RequestData
Auto Trait Implementations
impl<H> RefUnwindSafe for NotReporting<H> where
H: RefUnwindSafe,
impl<H> Send for NotReporting<H> where
H: Send,
impl<H> Sync for NotReporting<H> where
H: Sync,
impl<H> Unpin for NotReporting<H> where
H: Unpin,
impl<H> UnwindSafe for NotReporting<H> where
H: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<'a, OldRD, OldH> HandlerBuilder<'a, OldRD> for OldH where
OldH: Handler<RequestData = OldRD>,
impl<'a, OldRD, OldH> HandlerBuilder<'a, OldRD> for OldH where
OldH: Handler<RequestData = OldRD>,
Divert requests arriving at path into the given handler. Read more
fn at_with_attributes<H>(
self,
path: &'a [&'a str],
attributes: &'a [Attribute],
handler: H
) -> ForkingHandler<'a, ConstantSingleRecordReport<'a, H>, Self> where
H: Handler + Sized,
fn at_with_attributes<H>(
self,
path: &'a [&'a str],
attributes: &'a [Attribute],
handler: H
) -> ForkingHandler<'a, ConstantSingleRecordReport<'a, H>, Self> where
H: Handler + Sized,
Divert requests arriving at path into the given handler, and announce them with the
given attributes in .well-known/core. Read more