Trait wasefire_board_api::timer::Api
source · pub trait Api: Support<usize> + Send {
// Required methods
fn arm(timer: Id<Self>, command: &Command) -> Result<(), Error>;
fn disarm(timer: Id<Self>) -> Result<(), Error>;
}
Available on crate feature
api-timer
only.Expand description
Timer interface.
Required Methods§
Object Safety§
This trait is not object safe.