pub struct PageData { /* private fields */ }Implementations§
Source§impl PageData
impl PageData
pub fn new(page: PageOffset) -> PageData
pub fn can_fit(&self, row_data_size: usize) -> bool
pub fn insert( &mut self, current_tran_id: TransactionId, table: &Arc<Table>, user_data: SqlTuple, ) -> Result<ItemPointer, PageDataError>
pub fn update( &mut self, row_data: RowData, row_count: UInt12, ) -> Result<(), PageDataError>
pub fn get_row(&self, count: UInt12) -> Option<&RowData>
pub fn get_stream(&self) -> impl Stream<Item = RowData>
pub fn parse( table: &Arc<Table>, page: PageOffset, buffer: &Bytes, ) -> Result<PageData, PageDataError>
Auto Trait Implementations§
impl Freeze for PageData
impl RefUnwindSafe for PageData
impl Send for PageData
impl Sync for PageData
impl Unpin for PageData
impl UnwindSafe for PageData
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