[][src]Struct tantivy::space_usage::StoreSpaceUsage

pub struct StoreSpaceUsage { /* fields omitted */ }

Represents space usage for the Store for this segment.

This is composed of two parts. data represents the compressed data itself. offsets represents a lookup to find the start of a block

Methods

impl StoreSpaceUsage[src]

pub fn data_usage(&self) -> ByteCount[src]

Space usage for the data part of the store

pub fn offsets_usage(&self) -> ByteCount[src]

Space usage for the offsets part of the store (doc ID -> offset)

pub fn total(&self) -> ByteCount[src]

Total space usage in bytes for this Store

Trait Implementations

impl Clone for StoreSpaceUsage[src]

impl Debug for StoreSpaceUsage[src]

impl Serialize for StoreSpaceUsage[src]

impl<'de> Deserialize<'de> for StoreSpaceUsage[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Fruit for T where
    T: Send + Downcast
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]