pub struct RunningServer { /* private fields */ }Expand description
Handle for a running server instance.
Implementations§
Source§impl RunningServer
impl RunningServer
Sourcepub fn smtp_addr(&self) -> SocketAddr
pub fn smtp_addr(&self) -> SocketAddr
Return the bound SMTP address.
Sourcepub fn imap_addr(&self) -> SocketAddr
pub fn imap_addr(&self) -> SocketAddr
Return the bound IMAP address.
Sourcepub fn http_addr(&self) -> Option<SocketAddr>
pub fn http_addr(&self) -> Option<SocketAddr>
Return the bound HTTP address, if enabled.
Auto Trait Implementations§
impl Freeze for RunningServer
impl RefUnwindSafe for RunningServer
impl Send for RunningServer
impl Sync for RunningServer
impl Unpin for RunningServer
impl UnwindSafe for RunningServer
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