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§
Auto Trait Implementations§
impl Freeze for MaxOpenCursors
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