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]

Optional stdout logger.

Optional stderr logger.

impl Context
[src]

Create a Context

Return information about the version of the Oracle Client that is being used.

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.

Initializes the CommonCreate structure to default values.

Initializes the ConnCreate structure to default values.

Initializes the PoolCreate structure to default values.

Initializes the SubscrCreate struct to default values.

Trait Implementations

impl Clone for Context
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl TryFrom<*mut ODPIContext> for Context
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl Drop for Context
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl Send for Context

impl Sync for Context