Added AsRef to EhloResponse
This commit is contained in:
parent
a9ee5e3a6c
commit
dc9071ae3c
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue