pub fn get_node(addr: &str) -> Result<Node, VoltError>Expand description
Creates a new connection to a VoltDB server using an address string.
This is a convenience function that parses the address string and creates a connection with default settings (no authentication, no timeouts).
§Arguments
addr- The server address in “host:port” format (e.g., “localhost:21212”)
§Errors
Returns VoltError::InvalidConfig if the address cannot be parsed or resolved.
§Example
use voltdb_client_rust::get_node;
let node = get_node("localhost:21212")?;