Trait Challenge

Source
pub trait Challenge: Clone {
    // Required methods
    fn challenge_name() -> &'static str;
    fn from_raw(raw: RawChallenge) -> Option<Self>;
    fn into_raw(self) -> RawChallenge;
}
Expand description

The challenge described in RFC7235. Used in WWW-Authenticate header.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§