pub struct TestServer { /* private fields */ }Expand description
A running test server bound to a random port.
The server is automatically stopped when this value is dropped.
Implementations§
Source§impl TestServer
impl TestServer
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestServer
impl RefUnwindSafe for TestServer
impl Send for TestServer
impl Sync for TestServer
impl Unpin for TestServer
impl UnsafeUnpin for TestServer
impl UnwindSafe for TestServer
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