Closed jschwinger233 closed 4 years ago
Hi @jschwinger23 :wave:
lazy_static
doesn't allow you to get direct mutable access to the static value. You'll need to use some form of interior mutability, for example by wrapping your Runtime
in a Mutex
or RwLock
and synchronize mutable access through that.
fair enough, thx
got
did I miss something?