pub struct SctpMap {
pub port: u16,
pub app: String,
pub streams: Option<u32>,
}Expand description
a=sctpmap:<port> <app> [<streams>] (draft-ietf-mmusic-sctp-sdp-05), what data sections
carried before a=sctp-port: the SCTP port, the application protocol
(webrtc-datachannel) and the number of streams.
Fields§
§port: u16The SCTP port: the <fmt> of the old-style m= line.
app: StringThe application protocol, a token.
streams: Option<u32>The number of streams, when given.
Trait Implementations§
impl Eq for SctpMap
impl StructuralPartialEq for SctpMap
Auto Trait Implementations§
impl Forget for SctpMap
impl Freeze for SctpMap
impl Move 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