pub struct Server { /* private fields */ }Expand description
A running test server. Dropping it stops accepting connections; connections already open finish what they are doing.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Server
impl Freeze for Server
impl Move for Server
impl RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl UnsafeUnpin 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