pub struct VisibleRowManager { /* private fields */ }Implementations§
Source§impl VisibleRowManager
impl VisibleRowManager
pub fn new( row_manager: RowManager, tran_manager: TransactionManager, ) -> VisibleRowManager
pub async fn insert_row( &self, current_tran_id: TransactionId, table: &Arc<Table>, user_data: SqlTuple, ) -> Result<ItemPointer, VisibleRowManagerError>
pub async fn get( &mut self, tran_id: TransactionId, table: &Arc<Table>, row_pointer: ItemPointer, ) -> Result<RowData, VisibleRowManagerError>
pub fn get_stream( &self, tran_id: TransactionId, table: &Arc<Table>, ) -> impl Stream<Item = Result<RowData, VisibleRowManagerError>>
pub async fn any_visible( &mut self, table: &Arc<Table>, tran_id: TransactionId, ptrs: &Vec<ItemPointer>, ) -> Result<bool, VisibleRowManagerError>
Trait Implementations§
Source§impl Clone for VisibleRowManager
impl Clone for VisibleRowManager
Source§fn clone(&self) -> VisibleRowManager
fn clone(&self) -> VisibleRowManager
Returns a duplicate 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 Freeze for VisibleRowManager
impl !RefUnwindSafe for VisibleRowManager
impl Send for VisibleRowManager
impl Sync for VisibleRowManager
impl Unpin for VisibleRowManager
impl !UnwindSafe for VisibleRowManager
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