Struct sctp_proto::TransportConfig
source · 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_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
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