pub enum NextOpen {
Pending(FileOpenFuture),
Ready(Result<BoxStream<'static, Result<RecordBatch>>>),
}Expand description
Represents the state of the next FileOpenFuture. Since we need to poll
this future while scanning the current file, we need to store the result if it
is ready
Variants§
Pending(FileOpenFuture)
Ready(Result<BoxStream<'static, Result<RecordBatch>>>)
Auto Trait Implementations§
impl Freeze for NextOpen
impl !RefUnwindSafe for NextOpen
impl Send for NextOpen
impl !Sync for NextOpen
impl Unpin for NextOpen
impl !UnwindSafe for NextOpen
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