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 moreAuto Trait Implementations§
impl !RefUnwindSafe for AsyncBinaryReader
impl Send for AsyncBinaryReader
impl Sync for AsyncBinaryReader
impl Unpin for AsyncBinaryReader
impl !UnwindSafe for AsyncBinaryReader
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more