pub struct OrbitEventPoll {
pub events: Vec<OrbitEvent>,
pub lagged: u64,
}Expand description
Result of polling an event cursor.
Fields§
§events: Vec<OrbitEvent>§lagged: u64Number of counters that could not be delivered because the subscriber lagged past the ring capacity, a slot was empty, or a slot had already wrapped to another counter.
Implementations§
Trait Implementations§
Source§impl Clone for OrbitEventPoll
impl Clone for OrbitEventPoll
Source§fn clone(&self) -> OrbitEventPoll
fn clone(&self) -> OrbitEventPoll
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OrbitEventPoll
impl Debug for OrbitEventPoll
Source§impl Default for OrbitEventPoll
impl Default for OrbitEventPoll
Source§fn default() -> OrbitEventPoll
fn default() -> OrbitEventPoll
Returns the “default value” for a type. Read more
Source§impl PartialEq for OrbitEventPoll
impl PartialEq for OrbitEventPoll
Source§fn eq(&self, other: &OrbitEventPoll) -> bool
fn eq(&self, other: &OrbitEventPoll) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OrbitEventPoll
impl StructuralPartialEq for OrbitEventPoll
Auto Trait Implementations§
impl Freeze for OrbitEventPoll
impl RefUnwindSafe for OrbitEventPoll
impl Send for OrbitEventPoll
impl Sync for OrbitEventPoll
impl Unpin for OrbitEventPoll
impl UnsafeUnpin for OrbitEventPoll
impl UnwindSafe for OrbitEventPoll
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