Struct tibco_ems::Connection
source · pub struct Connection { /* private fields */ }
Expand description
holds the native Connection pointer
Implementations§
source§impl Connection
impl Connection
sourcepub fn transacted_session(&self) -> Result<Session, Error>
pub fn transacted_session(&self) -> Result<Session, Error>
open a session with transaction support
sourcepub fn get_active_url(&self) -> Result<String, Error>
pub fn get_active_url(&self) -> Result<String, Error>
get active url from a ft connection this is only required for admin connections, normal connections automatically choose the active server
Trait Implementations§
source§impl Clone for Connection
impl Clone for Connection
source§fn clone(&self) -> Connection
fn clone(&self) -> Connection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more