Struct samotop_core::mail::Builder
source · [−]pub struct Builder;
Expand description
Builds MailService from components with a builder pattern.
Add components with a + sign. The component must implement MailSetup<T>
and may depend with T on traits the Configuration
struct implements.
Finally call build()
or build_with_driver()
Implementations
Start with empty configuration
Use a given MailSetup to build a MailService.
See MailSetup for examples. Prefer to build with the + sign.
Trait Implementations
Composing a mail service with +
type Output = BuilderWithConfig
type Output = BuilderWithConfig
The resulting type after applying the +
operator.