Skip to main content

classify

Function classify 

Source
pub(crate) fn classify(
    status: u16,
    error: Option<&str>,
    retry_after: Option<Duration>,
) -> Answer
Expand description

What the relay’s status and error mean for the publisher.