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