pub struct RelationIndex { /* private fields */ }Implementations§
Source§impl RelationIndex
impl RelationIndex
pub fn new(root_dir: &Path, allocation_lot: u32) -> Self
pub async fn insert( &mut self, relation_key: &str, depend: &CollectionRow, pend: &CollectionRow, )
pub async fn delete(&mut self, row: NonZeroU32)
pub async fn delete_pends_by_collection_row( &mut self, collection_row: &CollectionRow, )
pub fn pends( &self, key: Option<Arc<String>>, depend: &CollectionRow, pend_collection_id: Option<NonZeroI32>, ) -> Vec<&CollectionRow>
pub fn depends( &self, key: Option<Arc<String>>, pend: &CollectionRow, ) -> Vec<Depend>
pub fn index_depend(&self) -> &IdxFile<CollectionRow>
pub fn index_pend(&self) -> &IdxFile<CollectionRow>
pub fn depend(&self, row: NonZeroU32) -> Option<&CollectionRow>
pub fn key(&self, row: NonZeroU32) -> &str
Auto Trait Implementations§
impl Freeze for RelationIndex
impl RefUnwindSafe for RelationIndex
impl Send for RelationIndex
impl Sync for RelationIndex
impl Unpin for RelationIndex
impl UnwindSafe for RelationIndex
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