pub struct Server;Expand description
Entry point for starting an in-process server.
Implementations§
Source§impl Server
impl Server
Sourcepub async fn start(config: ServerConfig) -> Result<RunningServer>
pub async fn start(config: ServerConfig) -> Result<RunningServer>
Start SMTP and IMAP listeners with the provided configuration.
Auto Trait Implementations§
impl Freeze for Server
impl RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl UnwindSafe for Server
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