pub trait Challenge: TryIntoHeaderValue + Debug + Display + Clone + Send + Sync {
    fn to_bytes(&self) -> Bytes;
}
Expand description

Authentication challenge for WWW-Authenticate header.

Required Methods§

Converts the challenge into a bytes suitable for HTTP transmission.

Implementors§