pub struct SctpPort(pub u16);Expand description
SCTP port attribute (a=sctp-port)
Indicates the SCTP port number of the association used by the media description, used with the “UDP/DTLS/SCTP” and “TCP/DTLS/SCTP” proto values at the media level. The port range is 0 to 65535 and leading zeroes are not used.
See RFC 8841 Section 5.2.
Tuple Fields§
§0: u16Trait Implementations§
impl Copy for SctpPort
impl Eq for SctpPort
impl StructuralPartialEq for SctpPort
Auto Trait Implementations§
impl Freeze for SctpPort
impl RefUnwindSafe for SctpPort
impl Send for SctpPort
impl Sync for SctpPort
impl Unpin for SctpPort
impl UnsafeUnpin for SctpPort
impl UnwindSafe for SctpPort
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