Struct coap_handler::implementations::TypedStaticResponse
source · [−]👎Deprecated
Fields
payload: &'static [u8]
👎Deprecated
contentformat: &'static [u8]
👎Deprecated
Trait Implementations
sourceimpl From<&'static str> for TypedStaticResponse
impl From<&'static str> for TypedStaticResponse
sourceimpl Handler for TypedStaticResponse
impl Handler for TypedStaticResponse
type RequestData = u8
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 TypedStaticResponse
impl Send for TypedStaticResponse
impl Sync for TypedStaticResponse
impl Unpin for TypedStaticResponse
impl UnwindSafe for TypedStaticResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<'a, OldRD, OldH> HandlerBuilder<'a, OldRD> for OldHwhere
OldH: Handler<RequestData = OldRD>,
impl<'a, OldRD, OldH> HandlerBuilder<'a, OldRD> for OldHwhere
OldH: Handler<RequestData = OldRD>,
sourcefn at<H>(self, path: &'a [&'a str], handler: H) -> ForkingHandler<'a, H, OldH>
fn at<H>(self, path: &'a [&'a str], handler: H) -> ForkingHandler<'a, H, OldH>
👎Deprecated