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