Skip to main content

is_content_rejection

Function is_content_rejection 

Source
pub fn is_content_rejection(error: &Error) -> bool
Expand description

Whether a failed federation attempt is a content rejection from a reachable peer, the one failure the peer-reachability store does not record.

A caller that retries the same request cannot learn of such a rejection from peer backoff and has to report it itself.