Struct coap_handler_implementations::NeverFound [−][src]
pub struct NeverFound {}
Expand description
A resource that unconditionally responds 4.04 Not Found.
This is a convenience tool for building trees of resources – rather than special casing the “none found” situation, this handler can be used.
Trait Implementations
type RequestData = ()
fn build_response(
&mut self,
response: &mut impl MutableWritableMessage,
_request: Self::RequestData
)
Auto Trait Implementations
impl RefUnwindSafe for NeverFound
impl Send for NeverFound
impl Sync for NeverFound
impl Unpin for NeverFound
impl UnwindSafe for NeverFound
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