openthread::ot

Trait Uptime

Source
pub trait Uptime {
    // Required method
    fn get_uptime(&self) -> MonotonicDuration;
}
Expand description

Uptime-related methods from the OpenThread “Instance” Module.

Required Methods§

Source

fn get_uptime(&self) -> MonotonicDuration

Functional equivalent of otsys::otInstanceGetUptime.

Implementors§