pub struct Configuration { /* private fields */ }
Expand description
Service builder configuration passed to MailSetup
Implementations§
Source§impl Configuration
impl Configuration
Trait Implementations§
Source§impl AcceptsDispatch for Configuration
impl AcceptsDispatch for Configuration
fn add_first_dispatch<T: MailDispatch + Send + Sync + 'static>( &mut self, dispatch: T, )
fn add_last_dispatch<T: MailDispatch + Send + Sync + 'static>( &mut self, dispatch: T, )
fn wrap_dispatches<T: MailDispatch + Send + Sync + 'static, F: FnOnce(Box<dyn MailDispatch + Send + Sync>) -> T>( &mut self, wrap: F, )
Source§impl AcceptsGuard for Configuration
impl AcceptsGuard for Configuration
Source§impl AcceptsInterpretter for Configuration
impl AcceptsInterpretter for Configuration
fn add_first_interpretter<T: Interpret + Send + Sync + 'static>( &mut self, item: T, )
fn add_last_interpretter<T: Interpret + Send + Sync + 'static>( &mut self, item: T, )
fn wrap_interpretter<T: Interpret + Send + Sync + 'static, F: FnOnce(Box<dyn Interpret + Send + Sync>) -> T>( &mut self, wrap: F, )
Source§impl AcceptsSessionService for Configuration
impl AcceptsSessionService for Configuration
fn add_first_session_service<T: SessionService + Send + Sync + 'static>( &mut self, session: T, )
fn add_last_session_service<T: SessionService + Send + Sync + 'static>( &mut self, session: T, )
fn wrap_session_service<T: SessionService + Send + Sync + 'static, F: FnOnce(Box<dyn SessionService + Send + Sync>) -> T>( &mut self, wrap: F, )
Source§impl Debug for Configuration
impl Debug for Configuration
Source§impl Default for Configuration
impl Default for Configuration
Auto Trait Implementations§
impl Freeze for Configuration
impl !RefUnwindSafe for Configuration
impl Send for Configuration
impl Sync for Configuration
impl Unpin for Configuration
impl !UnwindSafe for Configuration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more