pub struct ChunkedBinaryReaderIndex { /* private fields */ }
Implementations§
Source§impl ChunkedBinaryReaderIndex
impl ChunkedBinaryReaderIndex
pub fn get_file_size(&self) -> u64
pub fn from_file( name: impl AsRef<Path>, remove_file: RemoveFileMode, prefetch_amount: Option<usize>, ) -> Self
pub fn get_data_format_info<T: Decode<()>>(&self) -> T
pub fn get_path(&self) -> &Path
pub fn into_chunks(self) -> Vec<BinaryReaderChunk>
pub fn into_parallel_chunks(self) -> Mutex<VecDeque<BinaryReaderChunk>>
Auto Trait Implementations§
impl Freeze for ChunkedBinaryReaderIndex
impl !RefUnwindSafe for ChunkedBinaryReaderIndex
impl Send for ChunkedBinaryReaderIndex
impl Sync for ChunkedBinaryReaderIndex
impl Unpin for ChunkedBinaryReaderIndex
impl !UnwindSafe for ChunkedBinaryReaderIndex
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