pub struct MemberEventsPollRequest<'a> {
pub expected_member: &'a BridgeMemberIncarnation,
pub cursor: MemberObservationCursor,
pub max: u32,
pub wait: Duration,
pub outcome_acks: &'a [BridgeTurnOutcomeAck],
pub max_outcomes: u32,
}Expand description
Authority witness and bounded-read controls for one member event poll.
Keeping these facts together prevents callers from accidentally pairing acknowledgement rows or cursor controls with a different member incarnation while leaving the addressed session explicit on the host seam.
Fields§
§expected_member: &'a BridgeMemberIncarnationExact resident member incarnation authorized to serve the page.
cursor: MemberObservationCursorDurable event cursor in the owning host’s sequence domain.
max: u32Maximum event rows requested by the caller.
wait: DurationBounded long-poll duration.
outcome_acks: &'a [BridgeTurnOutcomeAck]Exact terminal outcome acknowledgements to apply before serving.
max_outcomes: u32Maximum retained terminal outcomes requested by the caller.
Trait Implementations§
Source§impl<'a> Clone for MemberEventsPollRequest<'a>
impl<'a> Clone for MemberEventsPollRequest<'a>
Source§fn clone(&self) -> MemberEventsPollRequest<'a>
fn clone(&self) -> MemberEventsPollRequest<'a>
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 moreimpl<'a> Copy for MemberEventsPollRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for MemberEventsPollRequest<'a>
impl<'a> RefUnwindSafe for MemberEventsPollRequest<'a>
impl<'a> Send for MemberEventsPollRequest<'a>
impl<'a> Sync for MemberEventsPollRequest<'a>
impl<'a> Unpin for MemberEventsPollRequest<'a>
impl<'a> UnsafeUnpin for MemberEventsPollRequest<'a>
impl<'a> UnwindSafe for MemberEventsPollRequest<'a>
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