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

Authentication challenge for WWW-Authenticate header.

Required Methods§

source

fn to_bytes(&self) -> Bytes

Converts the challenge into a bytes suitable for HTTP transmission.

Implementors§