Thanks to visit codestin.com
Credit goes to docs.rs

set_postgresql_alpn

Function set_postgresql_alpn 

Source
pub fn set_postgresql_alpn(config: &mut ClientConfig)
Expand description

Removes any ALPN values and adds the b"postgresql" ALPN.