pub struct QuicConfig {
pub max_bi_streams: u64,
pub max_uni_streams: u64,
pub keep_alive_interval: Option<Duration>,
pub idle_timeout: Option<Duration>,
pub enable_datagrams: bool,
pub stream_receive_window: u64,
pub receive_window: u64,
}Expand description
QUIC configuration.
Fields§
§max_bi_streams: u64Maximum concurrent bidirectional streams.
max_uni_streams: u64Maximum concurrent unidirectional streams.
keep_alive_interval: Option<Duration>Keep-alive interval. None to disable.
idle_timeout: Option<Duration>Idle timeout.
enable_datagrams: boolEnable datagrams.
stream_receive_window: u64Max unacked bytes a peer may send on one stream.
receive_window: u64Max unacked bytes a peer may send on all streams of one connection.
Trait Implementations§
Source§impl Clone for QuicConfig
impl Clone 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 UnsafeUnpin 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