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
sourceimpl 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
sourceimpl Debug for TransportConfig
impl Debug for TransportConfig
Auto Trait Implementations
impl RefUnwindSafe for TransportConfig
impl Send for TransportConfig
impl Sync for TransportConfig
impl Unpin for TransportConfig
impl UnwindSafe for TransportConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more