Struct mediasoup::sctp_parameters::SctpParameters
source · pub struct SctpParameters {
pub port: u16,
pub os: u16,
pub mis: u16,
pub max_message_size: u32,
}
Expand description
Parameters of the SCTP association.
Fields§
§port: u16
Must always equal 5000.
os: u16
Initially requested number of outgoing SCTP streams.
mis: u16
Maximum number of incoming SCTP streams.
max_message_size: u32
Maximum allowed size for SCTP messages.
Trait Implementations§
source§impl Clone for SctpParameters
impl Clone for SctpParameters
source§fn clone(&self) -> SctpParameters
fn clone(&self) -> SctpParameters
Returns a copy 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 SctpParameters
impl Debug for SctpParameters
source§impl<'de> Deserialize<'de> for SctpParameters
impl<'de> Deserialize<'de> for SctpParameters
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for SctpParameters
impl Hash for SctpParameters
source§impl Ord for SctpParameters
impl Ord for SctpParameters
source§fn cmp(&self, other: &SctpParameters) -> Ordering
fn cmp(&self, other: &SctpParameters) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SctpParameters
impl PartialEq for SctpParameters
source§fn eq(&self, other: &SctpParameters) -> bool
fn eq(&self, other: &SctpParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SctpParameters
impl PartialOrd for SctpParameters
source§fn partial_cmp(&self, other: &SctpParameters) -> Option<Ordering>
fn partial_cmp(&self, other: &SctpParameters) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for SctpParameters
impl Serialize for SctpParameters
impl Copy for SctpParameters
impl Eq for SctpParameters
impl StructuralPartialEq for SctpParameters
Auto Trait Implementations§
impl Freeze for SctpParameters
impl RefUnwindSafe for SctpParameters
impl Send for SctpParameters
impl Sync for SctpParameters
impl Unpin for SctpParameters
impl UnwindSafe for SctpParameters
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