Struct rocksdb::LiveFile[][src]

pub struct LiveFile {
    pub name: String,
    pub size: usize,
    pub level: i32,
    pub start_key: Option<Vec<u8>>,
    pub end_key: Option<Vec<u8>>,
    pub num_entries: u64,
    pub num_deletions: u64,
}

The metadata that describes a SST file

Fields

name: String

Name of the file

size: usize

Size of the file

level: i32

Level at which this file resides

start_key: Option<Vec<u8>>

Smallest user defined key in the file

end_key: Option<Vec<u8>>

Largest user defined key in the file

num_entries: u64

Number of entries/alive keys in the file

num_deletions: u64

Number of deletions/tomb key(s) in the file

Trait Implementations

impl Clone for LiveFile[src]

impl Debug for LiveFile[src]

Auto Trait Implementations

impl RefUnwindSafe for LiveFile

impl Send for LiveFile

impl Sync for LiveFile

impl Unpin for LiveFile

impl UnwindSafe for LiveFile

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.