Which way is better for getting r2d2connections in Actix?

Data extractor or lazy_static?
(Or another way?)