pub struct AsyncBinaryReader { /* private fields */ }
Implementations§
source§impl AsyncBinaryReader
impl AsyncBinaryReader
pub fn new( path: &PathBuf, compressed: bool, remove_file: RemoveFileMode, prefetch: Option<usize> ) -> Self
pub fn get_chunks_count(&self) -> usize
pub fn get_file_size(&self) -> usize
source§impl AsyncBinaryReader
impl AsyncBinaryReader
pub fn is_finished(&self) -> bool
pub fn get_items_stream<S: BucketItemSerializer>( &self, read_thread: Arc<AsyncReaderThread>, buffer: S::ReadBuffer, extra_buffer: S::ExtraDataBuffer ) -> AsyncBinaryReaderItemsIterator<S>
pub fn get_name(&self) -> PathBuf
Trait Implementations§
source§impl Clone for AsyncBinaryReader
impl Clone for AsyncBinaryReader
source§fn clone(&self) -> AsyncBinaryReader
fn clone(&self) -> AsyncBinaryReader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more