Skip to main content

test_connection

Function test_connection 

Source
pub async fn test_connection() -> (ConnectionTo<Client>, TestPeer)
Expand description

Build a live ConnectionTo<Client> over an in-memory duplex transport with a peer on the other end. Must be called inside a LocalSet.