From dc9071ae3c75e06eddf0200dad7ab321ed11be45 Mon Sep 17 00:00:00 2001 From: Mauro D Date: Tue, 3 Jan 2023 15:29:48 +0000 Subject: [PATCH] Added AsRef to EhloResponse --- src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 6fbba96..ebe29d5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -252,3 +252,9 @@ impl Default for RcptTo { } } } + +impl AsRef> for EhloResponse { + fn as_ref(&self) -> &EhloResponse { + self + } +}