Struct oracle::oci_attr::MaxOpenCursors
source · pub struct MaxOpenCursors;
Expand description
A type parameter for Connection::oci_attr
to get OCI_ATTR_MAX_OPEN_CURSORS
,
which is the maximum number of SQL statements that can be opened in one session
This returns the same value with the result of the following SQL statement when
a database user has a privilege to access v$parameter
.
select value from v$parameter where name = 'open_cursors'
Note that this attribute returns a proper value only when connected to a 12.1 server or later.
Trait Implementations§
source§impl OciAttr for MaxOpenCursors
impl OciAttr for MaxOpenCursors
§type HandleType = Session
type HandleType = Session
Auto Trait Implementations§
impl RefUnwindSafe for MaxOpenCursors
impl Send for MaxOpenCursors
impl Sync for MaxOpenCursors
impl Unpin for MaxOpenCursors
impl UnwindSafe for MaxOpenCursors
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