pub struct PullResult {
pub written: Vec<Value>,
pub rejected: Vec<Value>,
pub advance_cursor_to: Option<String>,
pub blocked: bool,
}Expand description
Outcome of processing a batch of pulled events.
Fields§
§written: Vec<Value>§rejected: Vec<Value>§advance_cursor_to: Option<String>New value for self.last_pulled_event_id. None means the cursor
was not advanced (either no events processable beyond the prior
cursor, or the first event blocked).
blocked: boolTrue if at least one event in this batch is blocking cursor advance.
Surfaces to operators in wire pull non-JSON output so silent stall
is visible.
Auto Trait Implementations§
impl Freeze for PullResult
impl RefUnwindSafe for PullResult
impl Send for PullResult
impl Sync for PullResult
impl Unpin for PullResult
impl UnsafeUnpin for PullResult
impl UnwindSafe for PullResult
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