pub struct LocalNonSecureBuilder<A>where
    A: Cmd,
{ /* private fields */ }
Expand description

Builder for an ConnectionConfig for an unencrypted smtp connection.Cmd

Should only be used for test setups

Implementations§

overrides the port to use (default: DEFAULT_SMTP_MSA_PORT)

overrides the client id to use (default: ClientId::hostname())

sets the auth command to use (default no authentication)

Calls Connection::connect(self.build()).

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.