pub fn new(username: &str, password: &str, connect_string: &str) -> OracleConnectionManager {
        OracleConnectionManager {
            connector: oracle::Connector::new(username, password, connect_string),
        }
    }
/// Initialise the connection manager with the data needed to create new connections.
/// Refer to the documentation of `oracle::Connection` for further details on the parameters.
///
/// # Example
/// ```
/// # use r2d2_oracle::OracleConnectionManager;
/// let manager = OracleConnectionManager::new("user", "password", "localhost");
/// ```
Initialise the connection manager with the data needed to create new connections.
Refer to the documentation of `oracle::Connection` for further details on the parameters.
Initialise the connection manager with the data needed to create new connections . Refer to the documentation of ` oracle :: Connection ` for further details on the parameters .
pub fn new(username: &str, password: &str, connect_string: &str) -> OracleConnectionManager {
        OracleConnectionManager {
            connector: oracle::Connector::new(username, password, connect_string),
        }
    }
pub fn new ( username : & str , password : & str , connect_string : & str ) -> OracleConnectionManager { OracleConnectionManager { connector : oracle :: Connector :: new ( username , password , connect_string ) , } }
Initialise the connection manager with the data needed to create new connections.
Initialise the connection manager with the data needed to create new connections .
username
&str
password
&str
connect_string
&str
username
&str
password
&str
connect_string
&str
example
None
use r2d2_oracle::oracleconnectionmanager;
let manager = OracleConnectionManager::new("user", "password", "localhost");
```
let manager = OracleConnectionManager :: new ( " user " " password " " localhost " ) ; ` ` `