pub struct PollResult {
pub events: Vec<Polled>,
pub next: u64,
pub dropped: bool,
}Expand description
What a poll answers.
Fields§
§events: Vec<Polled>The events, oldest first.
next: u64The cursor for the next poll: the last number this reply covers.
dropped: boolThe cursor after is not one this log can continue from, so events may have been missed
(or none were). events is empty and next is the newest number: re-read state, then
poll from next.
Auto Trait Implementations§
impl Freeze for PollResult
impl RefUnwindSafe for PollResult
impl Send for PollResult
impl Sync for PollResult
impl Unpin for PollResult
impl UnsafeUnpin for PollResult
impl UnwindSafe for PollResult
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