[−][src]Struct gstreamer_sdp::sdp_media::SDPMedia
Implementations
impl SDPMedia
[src]
Methods from Deref<Target = SDPMediaRef>
pub fn add_attribute(&mut self, key: &str, value: Option<&str>)
[src]
pub fn add_bandwidth(&mut self, bwtype: &str, bandwidth: u32)
[src]
pub fn add_connection(
&mut self,
nettype: &str,
addrtype: &str,
address: &str,
ttl: u32,
addr_number: u32
)
[src]
&mut self,
nettype: &str,
addrtype: &str,
address: &str,
ttl: u32,
addr_number: u32
)
pub fn add_format(&mut self, format: &str)
[src]
pub fn as_text(&self) -> Result<String, BoolError>
[src]
pub fn attributes(&self) -> AttributesIter<'_>ⓘNotable traits for AttributesIter<'a>
impl<'a> Iterator for AttributesIter<'a> type Item = &'a SDPAttribute;
[src]
Notable traits for AttributesIter<'a>
impl<'a> Iterator for AttributesIter<'a> type Item = &'a SDPAttribute;
pub fn formats(&self) -> FormatsIter<'_>ⓘNotable traits for FormatsIter<'a>
impl<'a> Iterator for FormatsIter<'a> type Item = &'a str;
[src]
Notable traits for FormatsIter<'a>
impl<'a> Iterator for FormatsIter<'a> type Item = &'a str;
pub fn bandwidths(&self) -> BandwidthsIter<'_>ⓘNotable traits for BandwidthsIter<'a>
impl<'a> Iterator for BandwidthsIter<'a> type Item = &'a SDPBandwidth;
[src]
Notable traits for BandwidthsIter<'a>
impl<'a> Iterator for BandwidthsIter<'a> type Item = &'a SDPBandwidth;
pub fn connections(&self) -> ConnectionsIter<'_>ⓘNotable traits for ConnectionsIter<'a>
impl<'a> Iterator for ConnectionsIter<'a> type Item = &'a SDPConnection;
[src]
Notable traits for ConnectionsIter<'a>
impl<'a> Iterator for ConnectionsIter<'a> type Item = &'a SDPConnection;
pub fn attributes_len(&self) -> u32
[src]
pub fn attributes_to_caps(&self, caps: &mut CapsRef) -> Result<(), ()>
[src]
pub fn bandwidths_len(&self) -> u32
[src]
pub fn connections_len(&self) -> u32
[src]
pub fn formats_len(&self) -> u32
[src]
pub fn get_attribute(&self, idx: u32) -> Option<&SDPAttribute>
[src]
pub fn get_attribute_val(&self, key: &str) -> Option<&str>
[src]
pub fn get_attribute_val_n(&self, key: &str, nth: u32) -> Option<&str>
[src]
pub fn get_bandwidth(&self, idx: u32) -> Option<&SDPBandwidth>
[src]
pub fn get_caps_from_media(&self, pt: i32) -> Option<Caps>
[src]
pub fn get_connection(&self, idx: u32) -> Option<&SDPConnection>
[src]
pub fn get_format(&self, idx: u32) -> Option<&str>
[src]
pub fn get_information(&self) -> Option<&str>
[src]
pub fn get_key(&self) -> Option<&SDPKey>
[src]
pub fn get_media(&self) -> Option<&str>
[src]
pub fn get_num_ports(&self) -> u32
[src]
pub fn get_port(&self) -> u32
[src]
pub fn get_proto(&self) -> Option<&str>
[src]
pub fn insert_attribute(
&mut self,
idx: Option<u32>,
attr: SDPAttribute
) -> Result<(), ()>
[src]
&mut self,
idx: Option<u32>,
attr: SDPAttribute
) -> Result<(), ()>
pub fn insert_bandwidth(
&mut self,
idx: Option<u32>,
bw: SDPBandwidth
) -> Result<(), ()>
[src]
&mut self,
idx: Option<u32>,
bw: SDPBandwidth
) -> Result<(), ()>
pub fn insert_connection(
&mut self,
idx: Option<u32>,
conn: SDPConnection
) -> Result<(), ()>
[src]
&mut self,
idx: Option<u32>,
conn: SDPConnection
) -> Result<(), ()>
pub fn insert_format(
&mut self,
idx: Option<u32>,
format: &str
) -> Result<(), ()>
[src]
&mut self,
idx: Option<u32>,
format: &str
) -> Result<(), ()>
pub fn remove_attribute(&mut self, idx: u32) -> Result<(), ()>
[src]
pub fn remove_bandwidth(&mut self, idx: u32) -> Result<(), ()>
[src]
pub fn remove_connection(&mut self, idx: u32) -> Result<(), ()>
[src]
pub fn remove_format(&mut self, idx: u32) -> Result<(), ()>
[src]
pub fn replace_attribute(
&mut self,
idx: u32,
attr: SDPAttribute
) -> Result<(), ()>
[src]
&mut self,
idx: u32,
attr: SDPAttribute
) -> Result<(), ()>
pub fn replace_bandwidth(
&mut self,
idx: u32,
bw: SDPBandwidth
) -> Result<(), ()>
[src]
&mut self,
idx: u32,
bw: SDPBandwidth
) -> Result<(), ()>
pub fn replace_connection(
&mut self,
idx: u32,
conn: SDPConnection
) -> Result<(), ()>
[src]
&mut self,
idx: u32,
conn: SDPConnection
) -> Result<(), ()>
pub fn replace_format(&mut self, idx: u32, format: &str) -> Result<(), ()>
[src]
pub fn set_information(&mut self, information: &str)
[src]
pub fn set_key(&mut self, type_: &str, data: &str)
[src]
pub fn set_media(&mut self, med: &str)
[src]
pub fn set_port_info(&mut self, port: u32, num_ports: u32)
[src]
pub fn set_proto(&mut self, proto: &str)
[src]
Trait Implementations
impl Borrow<SDPMediaRef> for SDPMedia
[src]
fn borrow(&self) -> &SDPMediaRef
[src]
impl BorrowMut<SDPMediaRef> for SDPMedia
[src]
fn borrow_mut(&mut self) -> &mut SDPMediaRef
[src]
impl Clone for SDPMedia
[src]
impl Debug for SDPMedia
[src]
impl Default for SDPMedia
[src]
impl Deref for SDPMedia
[src]
type Target = SDPMediaRef
The resulting type after dereferencing.
fn deref(&self) -> &SDPMediaRef
[src]
impl DerefMut for SDPMedia
[src]
fn deref_mut(&mut self) -> &mut SDPMediaRef
[src]
impl Display for SDPMedia
[src]
impl Eq for SDPMedia
[src]
impl Hash for SDPMedia
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for SDPMedia
[src]
fn cmp(&self, other: &SDPMedia) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<SDPMedia> for SDPMedia
[src]
impl PartialOrd<SDPMedia> for SDPMedia
[src]
fn partial_cmp(&self, other: &SDPMedia) -> Option<Ordering>
[src]
fn lt(&self, other: &SDPMedia) -> bool
[src]
fn le(&self, other: &SDPMedia) -> bool
[src]
fn gt(&self, other: &SDPMedia) -> bool
[src]
fn ge(&self, other: &SDPMedia) -> bool
[src]
impl Send for SDPMedia
[src]
impl StructuralEq for SDPMedia
[src]
impl StructuralPartialEq for SDPMedia
[src]
impl Sync for SDPMedia
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,