Trait parquet::file::reader::Length

source ·
pub trait Length {
    // Required method
    fn len(&self) -> u64;
}
Expand description

Length should return the total number of bytes in the input source. It’s mainly used to read the metadata, which is at the end of the source.

Required Methods§

source

fn len(&self) -> u64

Returns the amount of bytes of the inner source.

Implementations on Foreign Types§

source§

impl Length for File

source§

fn len(&self) -> u64

source§

impl Length for Bytes

source§

fn len(&self) -> u64

Implementors§