Struct jdbc::wrapper::sql::Connection
source · pub struct Connection<'local> { /* private fields */ }
Implementations§
source§impl<'local> Connection<'local>
impl<'local> Connection<'local>
pub fn from_ref( guard: AttachGuard<'local>, datasource: JObject<'local> ) -> Result<Self, Error>
pub fn prepare_statement<'parent>( &'parent self, sql: &str ) -> Result<PreparedStatement<'parent>, Error>
pub unsafe fn env(&self) -> JNIEnv<'_>
Trait Implementations§
Auto Trait Implementations§
impl<'local> RefUnwindSafe for Connection<'local>
impl<'local> !Send for Connection<'local>
impl<'local> !Sync for Connection<'local>
impl<'local> Unpin for Connection<'local>
impl<'local> UnwindSafe for Connection<'local>
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