pub enum TestKind<'a> {
StandaloneComponent {
client: &'a Client<'a>,
},
ClientAndServer {
client: &'a Client<'a>,
server: &'a Server<'a>,
},
ClientProxyAndServer {
client: &'a Client<'a>,
proxy: &'a Proxy<'a>,
server: &'a Server<'a>,
},
}
Expand description
This framework supports three kinds of tests:
- 3 components: client <-> proxy <-> server
- 2 components: client <-> server
- 1 component: standalone client
Variants§
Auto Trait Implementations§
impl<'a> Freeze for TestKind<'a>
impl<'a> RefUnwindSafe for TestKind<'a>
impl<'a> Send for TestKind<'a>
impl<'a> Sync for TestKind<'a>
impl<'a> Unpin for TestKind<'a>
impl<'a> UnwindSafe for TestKind<'a>
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