Function coap_message_demos::full_application_tree[][src]

pub fn full_application_tree(main_log: Option<&'static Log>) -> FullHandler
Expand description

Build a handler that contains all the demo applications

Note that no log::Log is created because that needs to be global, created-only-once and available as early in the application start-up as possible as per the log crate’s design; you’d have to pass one in if you want to view the log through CoAP.

The resources /message/info and /message/warn for creating log messages will be available independently thereof as long as the with-log feature is active.