Struct mimir::Context
[−]
[src]
pub struct Context { /* fields omitted */ }
This structure represents the context in which all activity in the library takes place.
Methods
impl Context
[src]
fn create() -> Result<Context>
Create a new Context
struct.
fn get_client_version(&self) -> Result<Info>
Return information about the version of the Oracle Client that is being used.
fn get_error(&self) -> Info
Returns error information for the last error that was raised by the library. This function must be called with the same thread that generated the error. It must also be called before any other ODPI-C library calls are made on the calling thread since the error information specific to that thread is cleared at the start of every ODPI-C function call.
fn init_common_create_params(&self) -> Result<CommonCreate>
Initializes the CommonCreate
structure to default values.
fn init_conn_create_params(&self) -> Result<ConnCreate>
Initializes the ConnCreate
structure to default values.
fn init_pool_create_params(&self) -> Result<PoolCreate>
Initializes the PoolCreate
structure to default values.
fn init_subscr_create_params(&self) -> Result<SubscrCreate>
Initializes the SubscrCreate
struct to default values.
Trait Implementations
impl Clone for Context
[src]
fn clone(&self) -> Context
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more