Skip to main content

im_status_flags_for

Function im_status_flags_for 

Source
pub fn im_status_flags_for(incoming_exchange_flags: u8) -> u8
Expand description

Compute exchange flags for a StatusResponse acknowledging a message with incoming_exchange_flags. On an exchange we initiated (incoming message has FLAG_INITIATOR clear) our reply keeps FLAG_INITIATOR set; on a peer-initiated exchange it must be clear.