#[non_exhaustive]pub struct ListPendingWaitpointsArgs {
pub execution_id: ExecutionId,
pub after: Option<WaitpointId>,
pub limit: Option<u32>,
}Expand description
Inputs to EngineBackend::list_pending_waitpoints (RFC-017 §5, §8).
Pagination is part of the signature so a flow with 10k pending
waitpoints cannot force a single-round-trip read regardless of
backend.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.execution_id: ExecutionId§after: Option<WaitpointId>Exclusive cursor — None starts from the beginning.
limit: Option<u32>Max page size. None → backend default (100). Backend-enforced
cap: 1000.
Implementations§
Source§impl ListPendingWaitpointsArgs
impl ListPendingWaitpointsArgs
pub fn new(execution_id: ExecutionId) -> Self
pub fn with_after(self, after: WaitpointId) -> Self
pub fn with_limit(self, limit: u32) -> Self
Trait Implementations§
Source§impl Clone for ListPendingWaitpointsArgs
impl Clone for ListPendingWaitpointsArgs
Source§fn clone(&self) -> ListPendingWaitpointsArgs
fn clone(&self) -> ListPendingWaitpointsArgs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ListPendingWaitpointsArgs
impl RefUnwindSafe for ListPendingWaitpointsArgs
impl Send for ListPendingWaitpointsArgs
impl Sync for ListPendingWaitpointsArgs
impl Unpin for ListPendingWaitpointsArgs
impl UnsafeUnpin for ListPendingWaitpointsArgs
impl UnwindSafe for ListPendingWaitpointsArgs
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