pub trait Cli {
// Required methods
fn cli_input_line(&self, line: &CStr);
fn cli_init<'a, F>(&self, output_callback: F)
where F: FnMut(&CStr) + 'a;
}
Expand description
Methods from the OpenThread “CLI” Module.
Required Methods§
Sourcefn cli_input_line(&self, line: &CStr)
fn cli_input_line(&self, line: &CStr)
Functional equivalent of otsys::otCliInputLine
.
Sourcefn cli_init<'a, F>(&self, output_callback: F)
fn cli_init<'a, F>(&self, output_callback: F)
Functional equivalent of otsys::otCliInit
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.