mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-22 14:57:56 +01:00
Error is not Send ¯\(ツ)/¯
This commit is contained in:
parent
c943e78cc6
commit
7e6748ad15
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user