pub struct RowIter { /* private fields */ }Implementations§
Source§impl RowIter
impl RowIter
Sourcepub fn read(&mut self, buf: &mut Vec<u8>) -> usize
pub fn read(&mut self, buf: &mut Vec<u8>) -> usize
Read some number of BSATN-encoded rows into the provided buffer.
Returns the number of new bytes added to the end of the buffer.
When the iterator has been exhausted,
self.is_exhausted() will return true.
Sourcepub fn is_exhausted(&self) -> bool
pub fn is_exhausted(&self) -> bool
Returns whether the iterator is exhausted or not.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RowIter
impl RefUnwindSafe for RowIter
impl Send for RowIter
impl Sync for RowIter
impl Unpin for RowIter
impl UnwindSafe for RowIter
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