pub struct Rfc9110Config {
pub server_names: Option<HashSet<String>>,
pub pseudonym: Option<String>,
pub combine_via: bool,
}
Expand description
Configuration for RFC9110 middleware
Fields§
§server_names: Option<HashSet<String>>
Server names to check for loop detection
pseudonym: Option<String>
Pseudonym to use in Via headers
combine_via: bool
Whether to combine Via headers with the same protocol version
Trait Implementations§
Source§impl Clone for Rfc9110Config
impl Clone for Rfc9110Config
Source§fn clone(&self) -> Rfc9110Config
fn clone(&self) -> Rfc9110Config
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Rfc9110Config
impl Debug for Rfc9110Config
Auto Trait Implementations§
impl Freeze for Rfc9110Config
impl RefUnwindSafe for Rfc9110Config
impl Send for Rfc9110Config
impl Sync for Rfc9110Config
impl Unpin for Rfc9110Config
impl UnwindSafe for Rfc9110Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more