Struct coap_handler::implementations::NeverFound
source · pub struct NeverFound {}
👎Deprecated
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§
source§impl Handler for NeverFound
impl Handler for NeverFound
type RequestData = ()
fn extract_request_data( &mut self, _request: &impl ReadableMessage ) -> Self::RequestData
fn estimate_length(&mut self, _request: &Self::RequestData) -> usize
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more