pub struct Polled {
pub seq: u64,
pub topic: String,
pub payload: Arc<Value>,
}Expand description
One event a poll returns.
Fields§
§seq: u64The event’s sequence number.
topic: StringThe event’s topic.
payload: Arc<Value>The event’s payload (a {truncated, bytes} marker when it was too large to keep).
Auto Trait Implementations§
impl Freeze for Polled
impl RefUnwindSafe for Polled
impl Send for Polled
impl Sync for Polled
impl Unpin for Polled
impl UnsafeUnpin for Polled
impl UnwindSafe for Polled
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