pub struct SctpMap {
pub number: u16,
pub app: String,
pub streams: Option<u16>,
}Expand description
SCTP port map attribute (a=sctpmap)
Legacy association of the SCTP port with the application running on
the association and the number of streams, sent as
a=sctpmap:<port> <app> [<streams>]. It was defined only in
draft-ietf-mmusic-sctp-sdp, never published as an RFC, and is
superseded by a=sctp-port (RFC 8841, section 5).
Fields§
§number: u16SCTP port number, in the range 0 to 65535.
app: StringApplication running on top of the association, e.g.
webrtc-datachannel.
streams: Option<u16>Number of streams supported by each side of the association.
Implementations§
Trait Implementations§
impl Eq for SctpMap
impl StructuralPartialEq for SctpMap
Auto Trait Implementations§
impl Freeze for SctpMap
impl RefUnwindSafe for SctpMap
impl Send for SctpMap
impl Sync for SctpMap
impl Unpin for SctpMap
impl UnsafeUnpin for SctpMap
impl UnwindSafe for SctpMap
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