Skip to main content

accept

Function accept 

Source
pub fn accept(
    current: u64,
    phase: Phase,
    incoming: u64,
    reply: Reply,
) -> Option<Phase>
Expand description

Decide acceptance and the next phase in one operation. Rejection leaves the caller’s state untouched. Payload identity is additionally checked by the adapter; generation equality alone must never override that check.