pub struct TransportConfig { /* private fields */ }
Expand description
Config collects the arguments to create_association construction into a single structure
Implementations§
Source§impl TransportConfig
impl TransportConfig
pub fn with_sctp_port(self, value: u16) -> Self
pub fn with_max_receive_buffer_size(self, value: u32) -> Self
pub fn with_max_message_size(self, value: u32) -> Self
pub fn with_max_num_outbound_streams(self, value: u16) -> Self
pub fn with_max_num_inbound_streams(self, value: u16) -> Self
pub fn with_timer_config(self, value: TimerConfig) -> Self
pub fn sctp_port(&self) -> u16
pub fn max_receive_buffer_size(&self) -> u32
pub fn max_message_size(&self) -> u32
pub fn max_num_outbound_streams(&self) -> u16
pub fn max_num_inbound_streams(&self) -> u16
pub fn timer_config(&self) -> TimerConfig
Trait Implementations§
Source§impl Debug for TransportConfig
impl Debug for TransportConfig
Auto Trait Implementations§
impl Freeze for TransportConfig
impl RefUnwindSafe for TransportConfig
impl Send for TransportConfig
impl Sync for TransportConfig
impl Unpin for TransportConfig
impl UnwindSafe for TransportConfig
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