Struct coap_handler_implementations::TypedStaticResponse[][src]

pub struct TypedStaticResponse {
    pub payload: &'static [u8],
    pub contentformat: &'static [u8],
}
👎 Deprecated:

Use SimpleRendered::new_typed_str/_slice

Fields

payload: &'static [u8]
👎 Deprecated:

Use SimpleRendered::new_typed_str/_slice

contentformat: &'static [u8]
👎 Deprecated:

Use SimpleRendered::new_typed_str/_slice

Trait Implementations

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Divert requests arriving at path into the given handler. Read more

Divert requests arriving with an Uri-Path starting with path to the given handler. Read more

👎 Deprecated

Divert requests arriving at path into the given handler. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.