Mattia Righetti

Results 13 comments of Mattia Righetti

Just to add more to this, I'm using the following struct in an Axum state, wrapped in an `Arc`. ```rust #[derive(Debug, Clone)] pub struct EmailClient { mailer: AsyncSmtpTransport, } struct...

> I don't see how cloning it has anything to do with it because the internal implementation of `AsyncSmtpTransport` is using `Arc`s, unless the `pool` feature is disabled. You're right,...