1 2 3 4
/// Compute the auth string using SASL PLAIN mechanism pub fn plain_auth_string(username: &str, password: &str) -> String { format!("\0{}\0{}", username, password) }
1 2 3 4
/// Compute the auth string using SASL PLAIN mechanism pub fn plain_auth_string(username: &str, password: &str) -> String { format!("\0{}\0{}", username, password) }