pub struct TestServerBuilder { /* private fields */ }
Expand description
Test server builder for integration tests
Implementations§
Source§impl TestServerBuilder
impl TestServerBuilder
pub fn new() -> Self
pub fn with_config(self, config: HttpConfig) -> Self
pub fn with_router(self, router: ElifRouter) -> Self
pub fn build(self) -> Server
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestServerBuilder
impl !RefUnwindSafe for TestServerBuilder
impl Send for TestServerBuilder
impl Sync for TestServerBuilder
impl Unpin for TestServerBuilder
impl !UnwindSafe for TestServerBuilder
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