Skip to main content

UnicodePstFile

Struct UnicodePstFile 

Source
pub struct UnicodePstFile { /* private fields */ }

Implementations§

Source§

impl UnicodePstFile

Source

pub fn read_from(reader: Box<dyn PstReader>) -> Result<Self>

Source

pub fn open(path: impl AsRef<Path>) -> Result<Self>

Trait Implementations§

Source§

impl DensityListPage<UnicodePstFile> for UnicodeDensityListPage

Source§

impl Header<UnicodePstFile> for UnicodeHeader

Source§

impl IntermediateDataTreeEntry<UnicodePstFile> for UnicodeDataTreeEntry

Source§

impl<const PAGE_TYPE: u8> MapPage<UnicodePstFile, PAGE_TYPE> for UnicodeMapPage<PAGE_TYPE>

Source§

impl PstFile for UnicodePstFile

Source§

type BlockId = UnicodeBlockId

Source§

type PageId = UnicodePageId

Source§

type ByteIndex = UnicodeByteIndex

Source§

type BlockRef = UnicodeBlockRef

Source§

type PageRef = UnicodePageRef

Source§

type Root = UnicodeRoot

Source§

type Header = UnicodeHeader

Source§

type PageTrailer = UnicodePageTrailer

Source§

type BTreeKey = u64

Source§

type NodeBTreeEntry = UnicodeNodeBTreeEntry

Source§

type NodeBTree = RootBTreePage<UnicodePstFile, UnicodeNodeBTreeEntry, UnicodeBTreeEntryPage, UnicodeNodeBTreePage>

Source§

type BlockBTreeEntry = UnicodeBlockBTreeEntry

Source§

type BlockBTree = RootBTreePage<UnicodePstFile, UnicodeBlockBTreeEntry, UnicodeBTreeEntryPage, UnicodeBlockBTreePage>

Source§

type BlockTrailer = UnicodeBlockTrailer

Source§

type AllocationMapPage = UnicodeMapPage<{ PageType::AllocationMap as u8 }>

Source§

type AllocationPageMapPage = UnicodeMapPage<{ PageType::AllocationPageMap as u8 }>

Source§

type FreeMapPage = UnicodeMapPage<{ PageType::FreeMap as u8 }>

Source§

type FreePageMapPage = UnicodeMapPage<{ PageType::FreePageMap as u8 }>

Source§

type DensityListPage = UnicodeDensityListPage

Source§

type DataTreeEntry = UnicodeDataTreeEntry

Source§

type DataTreeBlock = UnicodeDataTreeBlock

Source§

type DataBlock = UnicodeDataBlock

Source§

type SubNodeTreeBlockHeader = UnicodeSubNodeTreeBlockHeader

Source§

type SubNodeTreeBlock = SubNodeTreeBlock<UnicodeSubNodeTreeBlockHeader, IntermediateSubNodeTreeEntry<UnicodeBlockId>, UnicodeBlockTrailer>

Source§

type SubNodeBlock = SubNodeTreeBlock<UnicodeSubNodeTreeBlockHeader, LeafSubNodeTreeEntry<UnicodeBlockId>, UnicodeBlockTrailer>

Source§

type HeapNode = UnicodeHeapNode

Source§

type PropertyTree = UnicodeHeapTree<u16, PropertyTreeRecordValue>

Source§

type TableContext = UnicodeTableContext

Source§

type PropertyContext = UnicodePropertyContext

Source§

type Store = UnicodeStore

Source§

type Folder = UnicodeFolder

Source§

type Message = UnicodeMessage

Source§

type NamedPropertyMap = UnicodeNamedPropertyMap

Source§

type SearchUpdateQueue = UnicodeSearchUpdateQueue

Source§

fn header(&self) -> &Self::Header

Source§

fn density_list(&self) -> Result<&dyn DensityListPage<Self>, &Error>

Source§

fn reader(&self) -> &Mutex<Box<dyn PstReader>>

Source§

fn lock(&mut self) -> Result<PstFileLockGuard<'_, Self>>

Source§

fn read_node(&self, node: NodeId) -> Result<UnicodeNodeBTreeEntry>

Source§

fn read_block(&self, block: UnicodeBlockId) -> Result<Vec<u8>>

Source§

impl Root<UnicodePstFile> for UnicodeRoot

Source§

impl<Entry, LeafPage> RootBTreeIntermediatePage<UnicodePstFile, Entry, LeafPage> for UnicodeBTreeEntryPage
where Entry: BTreeEntry<Key = u64> + BTreeEntryReadWrite, LeafPage: RootBTreeLeafPage<UnicodePstFile, Entry = Entry>,

Source§

impl RootBTreeLeafPage<UnicodePstFile> for UnicodeBlockBTreePage

Source§

impl RootBTreeLeafPage<UnicodePstFile> for UnicodeNodeBTreePage

Source§

impl BlockBTree<UnicodePstFile, UnicodeBlockBTreeEntry> for UnicodeBlockBTree

Source§

impl NodeBTree<UnicodePstFile, UnicodeNodeBTreeEntry> for UnicodeNodeBTree

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more