RwLock<Option<...>> lacks the api and adds unnecessary overhead for lazy initialization. OnceCell instead provides the intended api for this purpose. |
||
---|---|---|
.. | ||
mod.rs | ||
quic_client.rs |
RwLock<Option<...>> lacks the api and adds unnecessary overhead for lazy initialization. OnceCell instead provides the intended api for this purpose. |
||
---|---|---|
.. | ||
mod.rs | ||
quic_client.rs |