pub struct ConnInitSettings {Show 13 fields
pub local_sockid: SocketId,
pub key_settings: Option<KeySettings>,
pub key_refresh: KeyMaterialRefreshSettings,
pub send_latency: Duration,
pub recv_latency: Duration,
pub peer_idle_timeout: Duration,
pub bandwidth: LiveBandwidthMode,
pub statistics_interval: Duration,
pub too_late_packet_drop: bool,
pub recv_buffer_size: PacketCount,
pub send_buffer_size: PacketCount,
pub max_packet_size: PacketSize,
pub max_flow_size: PacketCount,
}
Fields§
§local_sockid: SocketId
§key_settings: Option<KeySettings>
§key_refresh: KeyMaterialRefreshSettings
§send_latency: Duration
§recv_latency: Duration
§peer_idle_timeout: Duration
§bandwidth: LiveBandwidthMode
§statistics_interval: Duration
§too_late_packet_drop: bool
§recv_buffer_size: PacketCount
Receive buffer size in packets
send_buffer_size: PacketCount
Size of the send buffer, in packets
max_packet_size: PacketSize
§max_flow_size: PacketCount
Implementations§
Source§impl ConnInitSettings
impl ConnInitSettings
pub fn copy_randomize(&self) -> ConnInitSettings
Trait Implementations§
Source§impl Clone for ConnInitSettings
impl Clone for ConnInitSettings
Source§fn clone(&self) -> ConnInitSettings
fn clone(&self) -> ConnInitSettings
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 ConnInitSettings
impl Debug for ConnInitSettings
Source§impl Default for ConnInitSettings
impl Default for ConnInitSettings
Source§impl From<SocketOptions> for ConnInitSettings
impl From<SocketOptions> for ConnInitSettings
Source§fn from(options: SocketOptions) -> Self
fn from(options: SocketOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConnInitSettings
impl RefUnwindSafe for ConnInitSettings
impl Send for ConnInitSettings
impl Sync for ConnInitSettings
impl Unpin for ConnInitSettings
impl UnwindSafe for ConnInitSettings
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