Struct cached_file_view::FileView [−][src]
pub struct FileView { pub length: u64, // some fields omitted }
Fields
length: u64
Methods
impl FileView
[src]
impl FileView
pub fn new(file: File) -> Result<Self, FileViewError>
[src]
pub fn new(file: File) -> Result<Self, FileViewError>
pub fn read<R: Borrow<Range<u64>>>(
&self,
range: R
) -> Result<FileViewMapping, FileViewError>
[src]
pub fn read<R: Borrow<Range<u64>>>(
&self,
range: R
) -> Result<FileViewMapping, FileViewError>
Trait Implementations
impl Debug for FileView
[src]
impl Debug for FileView
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for FileView
[src]
impl Clone for FileView