struct NextState {
next_state: RowGroupDecoderState,
result: Option<DecodeResult<ParquetRecordBatchReader>>,
}Expand description
Result of a state transition
Fields§
§next_state: RowGroupDecoderState§result: Option<DecodeResult<ParquetRecordBatchReader>>result to return, if any
Some: the processing should stop and return the resultNone: processing should continue
Implementations§
Source§impl NextState
impl NextState
Sourcefn again(next_state: RowGroupDecoderState) -> Self
fn again(next_state: RowGroupDecoderState) -> Self
The next state with no result.
This indicates processing should continue
Sourcefn result(
next_state: RowGroupDecoderState,
result: DecodeResult<ParquetRecordBatchReader>,
) -> Self
fn result( next_state: RowGroupDecoderState, result: DecodeResult<ParquetRecordBatchReader>, ) -> Self
Create a NextState with a result that should be returned
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NextState
impl !RefUnwindSafe for NextState
impl Send for NextState
impl !Sync for NextState
impl Unpin for NextState
impl !UnwindSafe for NextState
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