Module coap_handler_implementations::wkc
source · [−]Expand description
Traits and tools to implement a .well-known/core resource easily
This tries to be future-proof for building also CoRAL responses, without going out of its way for that.
The Reporting trait is a bit of mis-fit for coap_handler_implementations, and should not be too tightly coupled with the remainign components. It is a candidate for moving in with coap-handler or a to-be created coap-discovery crate (when it and its components have matured), while NotReporting etc. would stay here.
Structs
Wrapper around arbitrary Handlers to make them report some attributes. The path is often
configured empty, relying on the tree builder to augment it with the actual path.
A report with no path, relation or attributes
Wrapper around arbitrary Handlers to make them not report in .well-known/core.
Enums
A property an advertised resource can have many of.
Traits
A entry produced by Reporting, corresponding to a single link in a Link Format file.
Indicates that this resource can produce output for a .well-known/core resource.
Functions
Write a Report into a text write in application/link-format.