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_data_format_info<T: DeserializeOwned>(&self) -> Option<T>
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
Auto Trait Implementations§
impl !Freeze for AsyncBinaryReader
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more