pub struct RuleRows(/* private fields */);Expand description
Shared immutable event ownership; callbacks never run while its positional reader is locked.
Implementations§
Source§impl RuleRows
impl RuleRows
pub fn from_rows( rows: impl IntoIterator<Item = Result<RuleRowImage, SQLError>>, bytes: usize, cancellation: CancellationToken, ) -> Result<Self, SQLError>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn get(&self, index: usize) -> Result<RuleRowImage, SQLError>
pub fn iter(&self) -> impl Iterator<Item = Result<RuleRowImage, SQLError>> + '_
pub fn select( &self, indices: &[usize], bytes: usize, cancellation: CancellationToken, ) -> Result<Self, SQLError>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RuleRows
impl !UnwindSafe for RuleRows
impl Freeze for RuleRows
impl Send for RuleRows
impl Sync for RuleRows
impl Unpin for RuleRows
impl UnsafeUnpin for RuleRows
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
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