Skip to main content

RtosTraceOSCallbacks

Trait RtosTraceOSCallbacks 

Source
pub trait RtosTraceOSCallbacks {
    // Required methods
    fn task_list();
    fn time() -> u64;
}
Expand description

Callbacks to the OS invoked by the tracing system. This trait can be implemented in the RTOS.

Required Methods§

Source

fn task_list()

Send a list of all tasks to the tracing system.

Source

fn time() -> u64

Get system time in microseconds.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§