Trait EmailConfig

Source
pub trait EmailConfig:
    Global
    + SignalConfig
    + TelemetryConfig
    + Sync
    + Send
    + 'static {
    // Required methods
    fn service_name(&self) -> &str;
    fn bind(&self) -> SocketAddr;
}

Required Methods§

Source

fn service_name(&self) -> &str

Source

fn bind(&self) -> SocketAddr

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§