Skip to main content

default_charge

Function default_charge 

Source
pub const fn default_charge(code: RemoteCode, refusals_charged: bool) -> Charge
Expand description

The charge a code carries when the remote side reported none (3.6).

transport_unsent is observed{0}: nothing left the process. A refusal is observed{0} only when the remote side documents that refused requests are not charged (refusals_charged == false); otherwise, and for every other code, unknown. cancelled is decided by crate::cancel::cancel_outcome, never here; it is unknown here.