pub struct Http3ServerConfig {
pub bind_h3: Option<SocketAddr>,
pub alt_svc_max_age_secs: u64,
pub zero_rtt_idempotent_methods: Vec<Method>,
}Expand description
Configuration for the HTTP/3 listener.
Fields§
§bind_h3: Option<SocketAddr>UDP bind address. None makes Http3Server::start fully inert.
alt_svc_max_age_secs: u64Default Alt-Svc max-age value, in seconds.
zero_rtt_idempotent_methods: Vec<Method>Methods allowed by the 0-RTT replay-safety policy.
Trait Implementations§
Source§impl Clone for Http3ServerConfig
impl Clone for Http3ServerConfig
Source§fn clone(&self) -> Http3ServerConfig
fn clone(&self) -> Http3ServerConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Http3ServerConfig
impl Debug for Http3ServerConfig
Auto Trait Implementations§
impl Freeze for Http3ServerConfig
impl RefUnwindSafe for Http3ServerConfig
impl Send for Http3ServerConfig
impl Sync for Http3ServerConfig
impl Unpin for Http3ServerConfig
impl UnsafeUnpin for Http3ServerConfig
impl UnwindSafe for Http3ServerConfig
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