[−][src]Trait smartplug::plugs::Smartplug
Required methods
fn set_power(&self, power: bool) -> Result<(), Error>
Set the power state of a smart plug. true
means it's powered on, and false
means off.