pub struct TestServerBuilder<Cfg, F, Sf, I> { /* private fields */ }Expand description
Test server builder
Implementations§
Source§impl<Cfg, F, S, I> TestServerBuilder<Cfg, F, S, I>
impl<Cfg, F, S, I> TestServerBuilder<Cfg, F, S, I>
Sourcepub fn client_config<T: Into<SharedCfg>>(self, cfg: T) -> Self
pub fn client_config<T: Into<SharedCfg>>(self, cfg: T) -> Self
Set client io configuration
Sourcepub fn start(self) -> TestServer
pub fn start(self) -> TestServer
Start test server
Trait Implementations§
Auto Trait Implementations§
impl<Cfg, F, Sf, I> !RefUnwindSafe for TestServerBuilder<Cfg, F, Sf, I>
impl<Cfg, F, Sf, I> !UnwindSafe for TestServerBuilder<Cfg, F, Sf, I>
impl<Cfg, F, Sf, I> Freeze for TestServerBuilder<Cfg, F, Sf, I>
impl<Cfg, F, Sf, I> Send for TestServerBuilder<Cfg, F, Sf, I>
impl<Cfg, F, Sf, I> Sync for TestServerBuilder<Cfg, F, Sf, I>
impl<Cfg, F, Sf, I> Unpin for TestServerBuilder<Cfg, F, Sf, I>
impl<Cfg, F, Sf, I> UnsafeUnpin for TestServerBuilder<Cfg, F, Sf, I>
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