Struct testserver::Server [−][src]
pub struct Server { /* fields omitted */ }
Expand description
A handle to a server. Also stops the server when dropped.
Implementations
Returns the server’s port number.
Auto Trait Implementations
impl !RefUnwindSafe for Server
impl !UnwindSafe for Server