pub struct OrdinalBatchLease { /* private fields */ }Expand description
Ownership token for one range reserved from a perfect ordinal source.
The token contains no reader borrow or rendered payload because the source
contract proves that the scalar value is the ordinal itself. Moving this
value transfers responsibility for every ordinal in range; the batch
executor must drain all of them or process the remainder through its scalar
recovery path. The shared source cursor is never rewound.
Implementations§
Source§impl OrdinalBatchLease
impl OrdinalBatchLease
Sourcepub fn source_name(&self) -> &str
pub fn source_name(&self) -> &str
The cursor the lease reserves from.
Sourcepub const fn source_generation(&self) -> u64
pub const fn source_generation(&self) -> u64
The generation of the source’s values.
Sourcepub const fn input_index(&self) -> usize
pub const fn input_index(&self) -> usize
The kernel input the cursor’s ordinal is written to.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OrdinalBatchLease
impl RefUnwindSafe for OrdinalBatchLease
impl Send for OrdinalBatchLease
impl Sync for OrdinalBatchLease
impl Unpin for OrdinalBatchLease
impl UnsafeUnpin for OrdinalBatchLease
impl UnwindSafe for OrdinalBatchLease
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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