pub struct FlowState {
pub handle: u32,
pub request_id: Option<RequestId>,
pub report: Report,
pub repair_limit: Option<OpNumber>,
}Expand description
Correlated status response or coalesced same-epoch receipt notification.
Fields§
§handle: u32Session-bound compact routing handle. Never reused during this process.
request_id: Option<RequestId>Present for a probe response; absent for an unsolicited same-epoch update.
report: ReportFixed-size, structurally checked accounting; exact history validation remains.
repair_limit: Option<OpNumber>Repair ceiling: a held PUB predecessor or current receipt during live progress. None permits normal catch-up through the correlated probe’s tail.
Implementations§
Source§impl FlowState
impl FlowState
Sourcepub fn validate_response(self, probe: FlowProbe) -> Result<(), WireError>
pub fn validate_response(self, probe: FlowProbe) -> Result<(), WireError>
Match the currently outstanding probe before considering an epoch change.
The adapter authenticates peer/session, invalidates retired probes, verifies reported history, and applies its local retention bounds separately. This comparison alone never supplies a vote, disk evidence, or recovery authority.
Trait Implementations§
impl Copy for FlowState
impl Eq for FlowState
impl StructuralPartialEq for FlowState
Auto Trait Implementations§
impl Freeze for FlowState
impl RefUnwindSafe for FlowState
impl Send for FlowState
impl Sync for FlowState
impl Unpin for FlowState
impl UnsafeUnpin for FlowState
impl UnwindSafe for FlowState
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