Struct tibco_ems::Connection
source · [−]pub struct Connection { /* private fields */ }
Expand description
holds the native Connection pointer
Implementations
sourceimpl<'stream> Connection
impl<'stream> 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
sourceimpl Clone for Connection
impl Clone for Connection
sourcefn clone(&self) -> Connection
fn clone(&self) -> Connection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnwindSafe for Connection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more