Struct new_tokio_smtp::Domain
source · pub struct Domain(_);
Expand description
represents a Domain
Note that currently no parse is implemented for Domain
,
i.e. validation has to be done by the user converting their
representation to out using from_unchecked
.
Note that the domain is expected to be ascii non ascii strings should be puny encoded.