Struct jdbc::Datasource
source · pub struct Datasource { /* private fields */ }
Implementations§
source§impl Datasource
impl Datasource
pub fn new(vm: Arc<JavaVM>, inner: GlobalRef) -> Self
pub fn get_connection(&self) -> Result<Connection<'_>, Error>
Trait Implementations§
source§impl Clone for Datasource
impl Clone for Datasource
source§fn clone(&self) -> Datasource
fn clone(&self) -> Datasource
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 moreAuto Trait Implementations§
impl RefUnwindSafe for Datasource
impl Send for Datasource
impl Sync for Datasource
impl Unpin for Datasource
impl UnwindSafe for Datasource
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