pub struct LanceEncodingsIo { /* private fields */ }Implementations§
Source§impl LanceEncodingsIo
impl LanceEncodingsIo
pub fn new(scheduler: FileScheduler) -> Self
pub fn with_read_chunk_size(self, read_chunk_size: u64) -> Self
Trait Implementations§
Source§impl Debug for LanceEncodingsIo
impl Debug for LanceEncodingsIo
Source§impl EncodingsIo for LanceEncodingsIo
impl EncodingsIo for LanceEncodingsIo
Source§fn with_bypass_backpressure(&self) -> Option<Arc<dyn EncodingsIo>>
fn with_bypass_backpressure(&self) -> Option<Arc<dyn EncodingsIo>>
Returns a version of this I/O service that bypasses backpressure for all requests. Read more
Source§fn with_io_stats(
&self,
stats: Arc<dyn IoStatsRecorder>,
) -> Option<Arc<dyn EncodingsIo>>
fn with_io_stats( &self, stats: Arc<dyn IoStatsRecorder>, ) -> Option<Arc<dyn EncodingsIo>>
Returns a version of this I/O service that additionally records the I/O it
performs into
stats, on top of any global accounting. This is the seam
used to measure exact per-scope (e.g. per-query) I/O without re-opening
files: wrap a reader’s I/O service, perform the reads, then inspect the
recorder. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for LanceEncodingsIo
impl !UnwindSafe for LanceEncodingsIo
impl Freeze for LanceEncodingsIo
impl Send for LanceEncodingsIo
impl Sync for LanceEncodingsIo
impl Unpin for LanceEncodingsIo
impl UnsafeUnpin for LanceEncodingsIo
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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