Error is not Send ¯\(ツ)/¯

This commit is contained in:
Gregor Reitzenstein 2020-09-17 14:34:57 +02:00
parent c943e78cc6
commit 7e6748ad15

View File

@ -30,6 +30,7 @@ struct Shelly {
} }
impl Shelly { impl Shelly {
// Can't use Error, it's not Send. fabinfra/fabaccess/bffh#7
pub async fn new(config: Settings) -> ActBox { pub async fn new(config: Settings) -> ActBox {
let client = mqtt::AsyncClient::new(config.shelly.unwrap().mqtt_url).unwrap(); let client = mqtt::AsyncClient::new(config.shelly.unwrap().mqtt_url).unwrap();