pub struct QuicConfig {
pub bind_addr: SocketAddr,
pub server_name: String,
pub max_streams: u32,
pub idle_timeout_secs: u64,
}Expand description
QUIC transport configuration
Fields§
§bind_addr: SocketAddrBind address
server_name: StringServer name for TLS
max_streams: u32Max concurrent streams
idle_timeout_secs: u64Idle timeout in seconds
Trait Implementations§
Source§impl Clone for QuicConfig
impl Clone for QuicConfig
Source§fn clone(&self) -> QuicConfig
fn clone(&self) -> QuicConfig
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 QuicConfig
impl Debug for QuicConfig
Auto Trait Implementations§
impl Freeze for QuicConfig
impl RefUnwindSafe for QuicConfig
impl Send for QuicConfig
impl Sync for QuicConfig
impl Unpin for QuicConfig
impl UnwindSafe for QuicConfig
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