pub struct Http3Config {
pub enabled: bool,
}Expand description
HTTP/3 QUIC 配置
用于配置 HTTP/3 QUIC 协议的设置。
Fields§
§enabled: bool是否启用 HTTP/3 QUIC 支持
Implementations§
Trait Implementations§
Source§impl Clone for Http3Config
impl Clone for Http3Config
Source§fn clone(&self) -> Http3Config
fn clone(&self) -> Http3Config
Returns a duplicate of the value. Read more
1.0.0 · 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 Http3Config
impl Debug for Http3Config
Source§impl Default for Http3Config
impl Default for Http3Config
Source§fn default() -> Http3Config
fn default() -> Http3Config
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Http3Config
impl RefUnwindSafe for Http3Config
impl Send for Http3Config
impl Sync for Http3Config
impl Unpin for Http3Config
impl UnsafeUnpin for Http3Config
impl UnwindSafe for Http3Config
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