#[non_exhaustive]#[repr(u8)]pub enum SdesType {
SdesEnd = 0,
SdesCname = 1,
SdesName = 2,
SdesEmail = 3,
SdesPhone = 4,
SdesLocation = 5,
SdesTool = 6,
SdesNote = 7,
SdesPrivate = 8,
}Expand description
SDESType is the item type used in the RTCP SDES control packet. RTP SDES item types registered with IANA. See: https://www.iana.org/assignments/rtp-parameters/rtp-parameters.xhtml#rtp-parameters-5
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SdesEnd = 0
End of the SDES item list ([RFC 3550] §6.5).
SdesCname = 1
CNAME: the canonical end-point identifier, which ties an SSRC to a participant.
The one item WebRTC always sends — it is how a receiver associates streams that belong together.
SdesName = 2
NAME: the participant’s display name.
SdesEmail = 3
EMAIL: the participant’s email address.
SdesPhone = 4
PHONE: the participant’s phone number.
SdesLocation = 5
LOC: the participant’s geographic location.
SdesTool = 6
TOOL: the name and version of the sending application.
SdesNote = 7
NOTE: a transient note about the source, such as “on hold”.
SdesPrivate = 8
PRIV: a private extension.
Trait Implementations§
impl Copy for SdesType
impl Eq for SdesType
impl StructuralPartialEq for SdesType
Auto Trait Implementations§
impl Freeze for SdesType
impl RefUnwindSafe for SdesType
impl Send for SdesType
impl Sync for SdesType
impl Unpin for SdesType
impl UnsafeUnpin for SdesType
impl UnwindSafe for SdesType
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