pub struct RuntaraClientConfig {
pub server_addr: SocketAddr,
pub server_name: String,
pub enable_0rtt: bool,
pub dangerous_skip_cert_verification: bool,
pub keep_alive_interval_ms: u64,
pub idle_timeout_ms: u64,
pub connect_timeout_ms: u64,
}Expand description
Configuration for the QUIC client
Fields§
§server_addr: SocketAddrServer address to connect to
server_name: StringServer name for TLS verification (use “localhost” for local dev)
enable_0rtt: boolEnable 0-RTT for lower latency (requires server support)
dangerous_skip_cert_verification: boolSkip certificate verification (for development only!)
keep_alive_interval_ms: u64Keep-alive interval in milliseconds (0 to disable)
idle_timeout_ms: u64Idle timeout in milliseconds
connect_timeout_ms: u64Connection timeout in milliseconds
Trait Implementations§
Source§impl Clone for RuntaraClientConfig
impl Clone for RuntaraClientConfig
Source§fn clone(&self) -> RuntaraClientConfig
fn clone(&self) -> RuntaraClientConfig
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 RuntaraClientConfig
impl Debug for RuntaraClientConfig
Auto Trait Implementations§
impl Freeze for RuntaraClientConfig
impl RefUnwindSafe for RuntaraClientConfig
impl Send for RuntaraClientConfig
impl Sync for RuntaraClientConfig
impl Unpin for RuntaraClientConfig
impl UnwindSafe for RuntaraClientConfig
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