pub struct AsyncBinaryReader { /* private fields */ }
Implementations
sourceimpl 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
sourceimpl AsyncBinaryReader
impl AsyncBinaryReader
pub fn is_finished(&self) -> bool
pub fn get_items_stream<E: BucketItem>(
&self,
read_thread: Arc<AsyncReaderThread>,
buffer: E::ReadBuffer,
extra_buffer: E::ExtraDataBuffer
) -> AsyncBinaryReaderItemsIterator<E>
pub fn get_name(&self) -> PathBuf
Trait Implementations
sourceimpl Clone for AsyncBinaryReader
impl Clone for AsyncBinaryReader
sourcefn clone(&self) -> AsyncBinaryReader
fn clone(&self) -> AsyncBinaryReader
Returns a copy of the value. Read more
1.0.0 · sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more