fraiseql-wire 2.3.2

Streaming JSON query engine for Postgres 17
Documentation
1
2
3
4
5
6
7
8
9
10
use super::*;

#[tokio::test]
async fn test_tcp_connect_failure() {
    let result = Transport::connect_tcp("localhost", 9999).await;
    assert!(
        result.is_err(),
        "expected Err for connection to closed port 9999, got: {result:?}"
    );
}