pub struct LimitOperator { /* private fields */ }Expand description
Limit operator.
Returns at most limit rows from the input.
Implementations§
Source§impl LimitOperator
impl LimitOperator
Trait Implementations§
Source§impl Operator for LimitOperator
impl Operator for LimitOperator
Source§fn next(&mut self) -> OperatorResult
fn next(&mut self) -> OperatorResult
Pulls the next batch of data. Returns
None when exhausted. Read moreAuto Trait Implementations§
impl Freeze for LimitOperator
impl !RefUnwindSafe for LimitOperator
impl Send for LimitOperator
impl Sync for LimitOperator
impl Unpin for LimitOperator
impl UnsafeUnpin for LimitOperator
impl !UnwindSafe for LimitOperator
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