pub struct UnicodePstFile { /* private fields */ }Implementations§
Trait Implementations§
Source§impl DensityListPage<UnicodePstFile> for UnicodeDensityListPage
impl DensityListPage<UnicodePstFile> for UnicodeDensityListPage
fn backfill_complete(&self) -> bool
fn current_page(&self) -> u32
fn entries(&self) -> &[DensityListPageEntry]
fn trailer(&self) -> &UnicodePageTrailer
Source§impl Header<UnicodePstFile> for UnicodeHeader
impl Header<UnicodePstFile> for UnicodeHeader
fn version(&self) -> NdbVersion
fn crypt_method(&self) -> NdbCryptMethod
fn next_block(&self) -> <UnicodePstFile as PstFile>::BlockId
fn next_page(&self) -> <UnicodePstFile as PstFile>::PageId
fn unique_value(&self) -> u32
fn root(&self) -> &<UnicodePstFile as PstFile>::Root
fn root_mut(&mut self) -> &mut <UnicodePstFile as PstFile>::Root
Source§impl IntermediateDataTreeEntry<UnicodePstFile> for UnicodeDataTreeEntry
impl IntermediateDataTreeEntry<UnicodePstFile> for UnicodeDataTreeEntry
fn new(block: UnicodeBlockId) -> Self
fn block(&self) -> UnicodeBlockId
Source§impl<const PAGE_TYPE: u8> MapPage<UnicodePstFile, PAGE_TYPE> for UnicodeMapPage<PAGE_TYPE>
impl<const PAGE_TYPE: u8> MapPage<UnicodePstFile, PAGE_TYPE> for UnicodeMapPage<PAGE_TYPE>
Source§impl PstFile for UnicodePstFile
impl PstFile for UnicodePstFile
type BlockId = UnicodeBlockId
type PageId = UnicodePageId
type ByteIndex = UnicodeByteIndex
type BlockRef = UnicodeBlockRef
type PageRef = UnicodePageRef
type Root = UnicodeRoot
type Header = UnicodeHeader
type PageTrailer = UnicodePageTrailer
type BTreeKey = u64
type NodeBTreeEntry = UnicodeNodeBTreeEntry
type NodeBTree = RootBTreePage<UnicodePstFile, UnicodeNodeBTreeEntry, UnicodeBTreeEntryPage, UnicodeNodeBTreePage>
type BlockBTreeEntry = UnicodeBlockBTreeEntry
type BlockBTree = RootBTreePage<UnicodePstFile, UnicodeBlockBTreeEntry, UnicodeBTreeEntryPage, UnicodeBlockBTreePage>
type BlockTrailer = UnicodeBlockTrailer
type AllocationMapPage = UnicodeMapPage<{ PageType::AllocationMap as u8 }>
type AllocationPageMapPage = UnicodeMapPage<{ PageType::AllocationPageMap as u8 }>
type FreeMapPage = UnicodeMapPage<{ PageType::FreeMap as u8 }>
type FreePageMapPage = UnicodeMapPage<{ PageType::FreePageMap as u8 }>
type DensityListPage = UnicodeDensityListPage
type DataTreeEntry = UnicodeDataTreeEntry
type DataTreeBlock = UnicodeDataTreeBlock
type DataBlock = UnicodeDataBlock
type SubNodeTreeBlockHeader = UnicodeSubNodeTreeBlockHeader
type SubNodeTreeBlock = SubNodeTreeBlock<UnicodeSubNodeTreeBlockHeader, IntermediateSubNodeTreeEntry<UnicodeBlockId>, UnicodeBlockTrailer>
type SubNodeBlock = SubNodeTreeBlock<UnicodeSubNodeTreeBlockHeader, LeafSubNodeTreeEntry<UnicodeBlockId>, UnicodeBlockTrailer>
type HeapNode = UnicodeHeapNode
type PropertyTree = UnicodeHeapTree<u16, PropertyTreeRecordValue>
type TableContext = UnicodeTableContext
type PropertyContext = UnicodePropertyContext
type Store = UnicodeStore
type Folder = UnicodeFolder
type Message = UnicodeMessage
type NamedPropertyMap = UnicodeNamedPropertyMap
type SearchUpdateQueue = UnicodeSearchUpdateQueue
fn header(&self) -> &Self::Header
fn density_list(&self) -> Result<&dyn DensityListPage<Self>, &Error>
fn reader(&self) -> &Mutex<Box<dyn PstReader>>
fn lock(&mut self) -> Result<PstFileLockGuard<'_, Self>>
fn read_node(&self, node: NodeId) -> Result<UnicodeNodeBTreeEntry>
fn read_block(&self, block: UnicodeBlockId) -> Result<Vec<u8>>
Source§impl Root<UnicodePstFile> for UnicodeRoot
impl Root<UnicodePstFile> for UnicodeRoot
fn file_eof_index(&self) -> &UnicodeByteIndex
fn amap_last_index(&self) -> &UnicodeByteIndex
fn amap_free_size(&self) -> &UnicodeByteIndex
fn pmap_free_size(&self) -> &UnicodeByteIndex
fn node_btree(&self) -> &UnicodePageRef
fn block_btree(&self) -> &UnicodePageRef
fn amap_is_valid(&self) -> AmapStatus
Source§impl<Entry, LeafPage> RootBTreeIntermediatePage<UnicodePstFile, Entry, LeafPage> for UnicodeBTreeEntryPagewhere
Entry: BTreeEntry<Key = u64> + BTreeEntryReadWrite,
LeafPage: RootBTreeLeafPage<UnicodePstFile, Entry = Entry>,
impl<Entry, LeafPage> RootBTreeIntermediatePage<UnicodePstFile, Entry, LeafPage> for UnicodeBTreeEntryPagewhere
Entry: BTreeEntry<Key = u64> + BTreeEntryReadWrite,
LeafPage: RootBTreeLeafPage<UnicodePstFile, Entry = Entry>,
impl BlockBTree<UnicodePstFile, UnicodeBlockBTreeEntry> for UnicodeBlockBTree
impl NodeBTree<UnicodePstFile, UnicodeNodeBTreeEntry> for UnicodeNodeBTree
Auto Trait Implementations§
impl !Freeze for UnicodePstFile
impl !RefUnwindSafe for UnicodePstFile
impl !Send for UnicodePstFile
impl !Sync for UnicodePstFile
impl Unpin for UnicodePstFile
impl UnsafeUnpin for UnicodePstFile
impl !UnwindSafe for UnicodePstFile
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