use std::fmt::{Debug, Display};
use actix_web::http::header::{HeaderValue, IntoHeaderValue};
pub mod basic;
pub mod bearer;
use crate::headers::authorization::errors::ParseError;
pub trait Scheme:
IntoHeaderValue + Debug + Display + Clone + Send + Sync
{
fn parse(header: &HeaderValue) -> Result<Self, ParseError>;
}