Struct mimir::AppContext[][src]

pub struct AppContext { /* fields omitted */ }

This structure is used for passing application context to the database during the process of creating standalone connections. These values are ignored when acquiring a connection from a session pool or when using DRCP (Database Resident Connection Pooling).

Methods

impl AppContext
[src]

Create a new AppContext struct.

Get the namespace_name value.

Specifies the value of the "namespace" parameter to sys_context(). It is expected to be a byte string in the encoding specified in the ODPIConnCreateParams structure and must not be NULL.

Get the name value.

Specifies the value of the "parameter" parameter to sys_context(). It is expected to be a byte string in the encoding specified in the ODPIConnCreateParams structure and must not be NULL.

Get the value value.

Specifies the value that will be returned from sys_context(). It is expected to be a byte string in the encoding specified in the ODPIConnCreateParams structure and must not be NULL.

Trait Implementations

impl Clone for AppContext
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AppContext
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for AppContext

impl !Sync for AppContext