pub struct TextSeedExecutionOutput { /* private fields */ }Expand description
Rows admitted before copying and retained in the supplied result account. The caller can borrow rows, but cannot detach their owning reservation.
Implementations§
Source§impl TextSeedExecutionOutput
impl TextSeedExecutionOutput
pub fn new( account: &QueryMemoryAccount, budget: ExternalReadResultBudget, ) -> Result<Self>
Sourcepub fn new_complete(
account: &QueryMemoryAccount,
budget: ExternalReadResultBudget,
) -> Result<Self>
pub fn new_complete( account: &QueryMemoryAccount, budget: ExternalReadResultBudget, ) -> Result<Self>
Construct a complete-domain builder without prepaying an unused ceiling. The provider calls finish_complete only after exhausting its source.
pub fn finish_complete(self) -> Result<Self>
pub fn is_complete(&self) -> bool
pub fn with_source_report(self, report: TextSeedSourceReport) -> Self
pub fn source_report(&self) -> Option<TextSeedSourceReport>
pub fn retained_bytes(&self) -> usize
pub fn push( &mut self, id: &str, external_id: Option<&str>, score: f64, ) -> Result<()>
pub fn rows(&self) -> &[TextSeedExecutionRow]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextSeedExecutionOutput
impl RefUnwindSafe for TextSeedExecutionOutput
impl Send for TextSeedExecutionOutput
impl Sync for TextSeedExecutionOutput
impl Unpin for TextSeedExecutionOutput
impl UnsafeUnpin for TextSeedExecutionOutput
impl UnwindSafe for TextSeedExecutionOutput
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