pub struct QuicServerConfig {
pub address: String,
pub cert_path: String,
pub key_path: String,
pub max_connections: usize,
}Expand description
QUIC server configuration
Fields§
§address: StringServer listen address
cert_path: StringPath to certificate file
key_path: StringPath to private key file
max_connections: usizeMaximum concurrent connections
Trait Implementations§
Source§impl Clone for QuicServerConfig
impl Clone for QuicServerConfig
Source§fn clone(&self) -> QuicServerConfig
fn clone(&self) -> QuicServerConfig
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 QuicServerConfig
impl Debug for QuicServerConfig
Auto Trait Implementations§
impl Freeze for QuicServerConfig
impl RefUnwindSafe for QuicServerConfig
impl Send for QuicServerConfig
impl Sync for QuicServerConfig
impl Unpin for QuicServerConfig
impl UnwindSafe for QuicServerConfig
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