is_enabled

Function is_enabled 

Source
pub fn is_enabled() -> Result<bool, Error>
Expand description

Return true if Bluetooth is currently enabled and ready for use. It may return an error of std::io::ErrorKind::PermissionDenied, or some other error.