Here I thought I was some rust hotshot but then I need to share a mutable value between threads.
`Arc<Option<Mutex<TunnelManager>>>` is one hell of a type. :P
`Mutex<Option<TunnelManager>>`
is a lot more reasonable. :P
```{let mut tunnels1 = tunnels1.lock().await.unwrap();tunnels1.open_tunnel(route_id).await?}```
Ain't it funky
Coding in rust makes me feel so stupid :P
It seems I need to place the mutex into an arc after all?
@mauve mutexes do tend to need to be placed in arcs to work correctly!
@yosh I'm just too addicted to mutable references on the heap being trivial in JS >:P
Escape ship from centralized social media run by Mauve.