[][src]Struct rocks::metadata::SstFileMetaData

pub struct SstFileMetaData {
    pub size: u64,
    pub name: String,
    pub db_path: String,
    pub smallest_seqno: SequenceNumber,
    pub largest_seqno: SequenceNumber,
    pub smallestkey: Vec<u8>,
    pub largestkey: Vec<u8>,
    pub being_compacted: bool,
}

The metadata that describes a SST file.

Fields

size: u64

File size in bytes.

name: String

The name of the file.

db_path: String

The full path where the file locates.

smallest_seqno: SequenceNumber

Smallest sequence number in file.

largest_seqno: SequenceNumber

Largest sequence number in file.

smallestkey: Vec<u8>

Smallest user defined key in the file.

largestkey: Vec<u8>

Largest user defined key in the file.

being_compacted: bool

true if the file is currently being compacted.

Trait Implementations

impl Debug for SstFileMetaData[src]

Auto Trait Implementations

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, 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.