pub struct DataSource { /* private fields */ }Implementations§
Source§impl DataSource
impl DataSource
pub async fn current_txn(&self) -> Result<Transaction, Error>
pub async fn create_txn(&self) -> Result<Transaction, Error>
pub fn standalone(&self) -> Self
Source§impl DataSource
impl DataSource
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for DataSource
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