Trait openthread::ot::Uptime
source · pub trait Uptime {
// Required method
fn get_uptime(&self) -> Duration;
}
Expand description
Uptime-related methods from the OpenThread “Instance” Module.
Required Methods§
sourcefn get_uptime(&self) -> Duration
fn get_uptime(&self) -> Duration
Functional equivalent of otsys::otInstanceGetUptime
.