pub struct ConnectData {
pub service_name: Option<String>,
pub sid: Option<String>,
pub instance_name: Option<String>,
pub server_type: Option<ServerType>,
pub cclass: Option<String>,
pub purity: Option<Purity>,
pub pool_boundary: Option<String>,
pub pool_name: Option<String>,
pub connection_id_prefix: Option<String>,
pub use_tcp_fast_open: bool,
pub extra: Vec<(String, String)>,
}Expand description
Resolved CONNECT_DATA settings.
Fields§
§service_name: Option<String>SERVICE_NAME=.
sid: Option<String>SID=.
instance_name: Option<String>INSTANCE_NAME=.
server_type: Option<ServerType>SERVER= (dedicated / shared / pooled).
cclass: Option<String>POOL_CONNECTION_CLASS=.
purity: Option<Purity>POOL_PURITY=.
pool_boundary: Option<String>POOL_BOUNDARY=.
pool_name: Option<String>POOL_NAME=.
connection_id_prefix: Option<String>CONNECTION_ID_PREFIX=.
use_tcp_fast_open: boolUSE_TCP_FAST_OPEN=ON.
extra: Vec<(String, String)>Unrecognised CONNECT_DATA keys, passed through to the listener verbatim (uppercased key -> reconstructed value).
Trait Implementations§
Source§impl Clone for ConnectData
impl Clone for ConnectData
Source§fn clone(&self) -> ConnectData
fn clone(&self) -> ConnectData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConnectData
impl Debug for ConnectData
Source§impl Default for ConnectData
impl Default for ConnectData
Source§fn default() -> ConnectData
fn default() -> ConnectData
Returns the “default value” for a type. Read more
impl Eq for ConnectData
Source§impl PartialEq for ConnectData
impl PartialEq for ConnectData
Source§fn eq(&self, other: &ConnectData) -> bool
fn eq(&self, other: &ConnectData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConnectData
Auto Trait Implementations§
impl Freeze for ConnectData
impl RefUnwindSafe for ConnectData
impl Send for ConnectData
impl Sync for ConnectData
impl Unpin for ConnectData
impl UnsafeUnpin for ConnectData
impl UnwindSafe for ConnectData
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