pub struct Driver { /* private fields */ }Expand description
ADBC Driver for Exasol.
The Driver type represents the exarrow-rs driver and provides metadata
about the driver implementation. It serves as the entry point for creating
database connections.
§Example
Implementations§
Source§impl Driver
impl Driver
Sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Sourcepub fn open(&self, connection_string: &str) -> Result<Database, ConnectionError>
pub fn open(&self, connection_string: &str) -> Result<Database, ConnectionError>
Open a database connection factory.
This parses the connection string and creates a Database instance
that can be used to establish connections.
§Arguments
connection_string- Connection string in the format:exasol://[username[:password]@]host[:port][/schema][?param=value&...]
§Returns
A Database instance configured with the connection parameters.
§Errors
Returns ConnectionError if the connection string is invalid.
§Example
Sourcepub fn validate_connection_string(&self, connection_string: &str) -> bool
pub fn validate_connection_string(&self, connection_string: &str) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Driver
impl RefUnwindSafe for Driver
impl Send for Driver
impl Sync for Driver
impl Unpin for Driver
impl UnwindSafe for Driver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more