Struct coap_lite::Packet [−][src]
Expand description
The CoAP packet.
Fields
header: Headerpayload: Vec<u8>Implementations
Returns an iterator over the options of the packet.
Sets an option’s values.
Returns an option’s values.
Adds an option value.
Removes an option.
Sets the content-format.
Returns the content-format.
Sets the value of the observe option.
Returns the value of the observe option.
Decodes a byte slice and constructs the equivalent packet.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Packet
impl UnwindSafe for Packet
Blanket Implementations
Mutably borrows from an owned value. Read more