Skip to main content

upgrade_required_of

Function upgrade_required_of 

Source
pub fn upgrade_required_of<E>(error: &Error<E>) -> Option<UpgradeRequired>
where E: Error + 'static,
Expand description

The one typed UpgradeRequired a generated-client failure carries, if it is one: a 426 — the server’s, or the typed transport’s local refusal of a write the latched window refuses — documented or not. None for every other failure.