Added AsRef to EhloResponse

This commit is contained in:
Mauro D 2023-01-03 15:29:48 +00:00
parent a9ee5e3a6c
commit dc9071ae3c

View file

@ -252,3 +252,9 @@ impl<T: Default> Default for RcptTo<T> {
}
}
}
impl<T: Display> AsRef<EhloResponse<T>> for EhloResponse<T> {
fn as_ref(&self) -> &EhloResponse<T> {
self
}
}