pub struct QuicClientConfig {
pub server_addr: String,
pub server_name: String,
pub cert_path: Option<String>,
pub key_path: Option<String>,
}Expand description
QUIC client configuration
Fields§
§server_addr: StringServer address to connect to
server_name: StringServer name for certificate verification
cert_path: Option<String>Path to client certificate (optional, for mTLS)
key_path: Option<String>Path to client private key (optional, for mTLS)
Implementations§
Trait Implementations§
Source§impl Clone for QuicClientConfig
impl Clone for QuicClientConfig
Source§fn clone(&self) -> QuicClientConfig
fn clone(&self) -> QuicClientConfig
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 moreAuto Trait Implementations§
impl Freeze for QuicClientConfig
impl RefUnwindSafe for QuicClientConfig
impl Send for QuicClientConfig
impl Sync for QuicClientConfig
impl Unpin for QuicClientConfig
impl UnwindSafe for QuicClientConfig
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