pub struct SingleStoreDatabase { /* private fields */ }
Implementations§
source§impl SingleStoreDatabase
impl SingleStoreDatabase
sourcepub fn read(&self) -> Result<Reader<SafeModeRoTransaction<'_>>>
pub fn read(&self) -> Result<Reader<SafeModeRoTransaction<'_>>>
Function used to obtain a “reader” which is used for read-only transactions.
Auto Trait Implementations§
impl !Freeze for SingleStoreDatabase
impl RefUnwindSafe for SingleStoreDatabase
impl Send for SingleStoreDatabase
impl Sync for SingleStoreDatabase
impl Unpin for SingleStoreDatabase
impl UnwindSafe for SingleStoreDatabase
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
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more