pub struct Session { /* private fields */ }
Implementations§
Source§impl Session
impl Session
pub async fn result_with( &self, search_result: &SearchResult, ) -> SessionSearchResult
pub fn field_bytes<'a>( &'a self, database: &'a SessionDatabase, collection_id: NonZero<i32>, row: NonZero<i64>, field_name: &Arc<String>, ) -> &'a [u8] ⓘ
pub fn collection_field_bytes<'a>( &'a self, collection: &'a Collection, row: NonZero<i64>, field_name: &Arc<String>, ) -> &'a [u8] ⓘ
pub fn temporary_collection( &self, collection_id: NonZero<i32>, ) -> Option<&HashMap<NonZero<i64>, TemporaryDataEntity>>
pub fn depends( &self, key: Option<Arc<String>>, pend_row: NonZero<u32>, ) -> Option<Vec<Depend>>
Source§impl Session
impl Session
pub fn sort<C>(
&self,
collection: &Collection,
rows: Vec<NonZero<i64>>,
orders: &Vec<SessionOrder<C>>,
) -> Vec<NonZero<i64>>where
C: SessionCustomOrder,
Auto Trait Implementations§
impl Freeze for Session
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnwindSafe for Session
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