use ;
use crateResult;
use crateTorchlightExt;
/// Turn the torch on or off.
///
/// `level` is an optional brightness in the `0.0..=1.0` range. It is ignored
/// when turning the torch off, and on devices/platforms without brightness
/// control the torch simply turns on at full power.
pub async
/// Whether the device has a controllable torch.
pub async
/// Whether the torch is currently lit.
pub async