pub enum SdpAttribute {
Nil,
Uint8(u8),
Uint16(u16),
Uint32(u32),
Int8(i8),
Int16(i16),
Int32(i32),
Uuid16(u16),
Uuid128([u8; 16]),
Text(String),
Bool(bool),
Sequence(Vec<SdpAttribute>),
}Expand description
SDP Data Element types
Variants§
Nil
Nil / null value
Uint8(u8)
Unsigned 8-bit integer
Uint16(u16)
Unsigned 16-bit integer
Uint32(u32)
Unsigned 32-bit integer
Int8(i8)
Signed 8-bit integer
Int16(i16)
Signed 16-bit integer
Int32(i32)
Signed 32-bit integer
Uuid16(u16)
16-bit UUID
Uuid128([u8; 16])
128-bit UUID (stored as [u8; 16])
Text(String)
Text string
Bool(bool)
Boolean value
Sequence(Vec<SdpAttribute>)
Sequence of attributes
Trait Implementations§
Source§impl Clone for SdpAttribute
impl Clone for SdpAttribute
Source§fn clone(&self) -> SdpAttribute
fn clone(&self) -> SdpAttribute
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SdpAttribute
impl Debug for SdpAttribute
Source§impl PartialEq for SdpAttribute
impl PartialEq for SdpAttribute
impl Eq for SdpAttribute
impl StructuralPartialEq for SdpAttribute
Auto Trait Implementations§
impl Freeze for SdpAttribute
impl RefUnwindSafe for SdpAttribute
impl Send for SdpAttribute
impl Sync for SdpAttribute
impl Unpin for SdpAttribute
impl UnwindSafe for SdpAttribute
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)