pub struct NetTestRun<'a, T> { /* private fields */ }Available on crate features
test_suite and std only.Implementations§
Source§impl<'a, T: Tcp> NetTestRun<'a, T>
impl<'a, T: Tcp> NetTestRun<'a, T>
pub fn new(rt: &'a T) -> Self
pub async fn tcp_connect(&self)
pub async fn tcp_listen(&self)
pub fn tcp_receive( &self, ) -> impl Iterator<Item = impl Future<Output = ()> + '_> + '_
pub fn tcp_send( &self, ) -> impl Iterator<Item = impl Future<Output = ()> + '_> + '_
pub fn tcp_echo_client( &self, ) -> impl Iterator<Item = impl Future<Output = ()> + '_> + '_
pub fn tcp_echo_server( &self, ) -> impl Iterator<Item = impl Future<Output = ()> + '_> + '_
Auto Trait Implementations§
impl<'a, T> Freeze for NetTestRun<'a, T>
impl<'a, T> RefUnwindSafe for NetTestRun<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for NetTestRun<'a, T>where
T: Sync,
impl<'a, T> Sync for NetTestRun<'a, T>where
T: Sync,
impl<'a, T> Unpin for NetTestRun<'a, T>
impl<'a, T> UnwindSafe for NetTestRun<'a, T>where
T: RefUnwindSafe,
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