Struct vsmtp_protocol::HeloArgs
#[non_exhaustive]pub struct HeloArgs {
pub client_name: Domain,
}Expand description
Information received from the client at the HELO command.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.client_name: DomainName of the client.
Trait Implementations§
§impl TryFrom<UnparsedArgs> for HeloArgs
impl TryFrom<UnparsedArgs> for HeloArgs
§type Error = ParseArgsError
type Error = ParseArgsError
The type returned in the event of a conversion error.
§fn try_from(value: UnparsedArgs) -> Result<Self, Self::Error>
fn try_from(value: UnparsedArgs) -> Result<Self, Self::Error>
Performs the conversion.