Struct gstreamer_sdp::sdp_media::SDPMediaRef [−][src]
#[repr(transparent)]pub struct SDPMediaRef(_);
Implementations
impl SDPMediaRef
[src]
impl SDPMediaRef
[src]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<(), BoolError>
[src]
pub fn bandwidths_len(&self) -> u32
[src]
pub fn connections_len(&self) -> u32
[src]
pub fn formats_len(&self) -> u32
[src]
pub fn attribute(&self, idx: u32) -> Option<&SDPAttribute>
[src]
pub fn attribute_val(&self, key: &str) -> Option<&str>
[src]
pub fn attribute_val_n(&self, key: &str, nth: u32) -> Option<&str>
[src]
pub fn bandwidth(&self, idx: u32) -> Option<&SDPBandwidth>
[src]
pub fn caps_from_media(&self, pt: i32) -> Option<Caps>
[src]
pub fn connection(&self, idx: u32) -> Option<&SDPConnection>
[src]
pub fn format(&self, idx: u32) -> Option<&str>
[src]
pub fn information(&self) -> Option<&str>
[src]
pub fn key(&self) -> Option<&SDPKey>
[src]
pub fn media(&self) -> Option<&str>
[src]
pub fn num_ports(&self) -> u32
[src]
pub fn port(&self) -> u32
[src]
pub fn proto(&self) -> Option<&str>
[src]
pub fn insert_attribute(
&mut self,
idx: Option<u32>,
attr: SDPAttribute
) -> Result<(), BoolError>
[src]
&mut self,
idx: Option<u32>,
attr: SDPAttribute
) -> Result<(), BoolError>
pub fn insert_bandwidth(
&mut self,
idx: Option<u32>,
bw: SDPBandwidth
) -> Result<(), BoolError>
[src]
&mut self,
idx: Option<u32>,
bw: SDPBandwidth
) -> Result<(), BoolError>
pub fn insert_connection(
&mut self,
idx: Option<u32>,
conn: SDPConnection
) -> Result<(), BoolError>
[src]
&mut self,
idx: Option<u32>,
conn: SDPConnection
) -> Result<(), BoolError>
pub fn insert_format(
&mut self,
idx: Option<u32>,
format: &str
) -> Result<(), BoolError>
[src]
&mut self,
idx: Option<u32>,
format: &str
) -> Result<(), BoolError>
pub fn remove_attribute(&mut self, idx: u32) -> Result<(), BoolError>
[src]
pub fn remove_bandwidth(&mut self, idx: u32) -> Result<(), BoolError>
[src]
pub fn remove_connection(&mut self, idx: u32) -> Result<(), BoolError>
[src]
pub fn remove_format(&mut self, idx: u32) -> Result<(), BoolError>
[src]
pub fn replace_attribute(
&mut self,
idx: u32,
attr: SDPAttribute
) -> Result<(), BoolError>
[src]
&mut self,
idx: u32,
attr: SDPAttribute
) -> Result<(), BoolError>
pub fn replace_bandwidth(
&mut self,
idx: u32,
bw: SDPBandwidth
) -> Result<(), BoolError>
[src]
&mut self,
idx: u32,
bw: SDPBandwidth
) -> Result<(), BoolError>
pub fn replace_connection(
&mut self,
idx: u32,
conn: SDPConnection
) -> Result<(), BoolError>
[src]
&mut self,
idx: u32,
conn: SDPConnection
) -> Result<(), BoolError>
pub fn replace_format(
&mut self,
idx: u32,
format: &str
) -> Result<(), BoolError>
[src]
&mut self,
idx: u32,
format: &str
) -> Result<(), BoolError>
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]
pub fn set_media_from_caps(
caps: &Caps,
media: &mut SDPMedia
) -> Result<(), BoolError>
[src]
caps: &Caps,
media: &mut SDPMedia
) -> Result<(), BoolError>
Trait Implementations
impl Borrow<SDPMediaRef> for SDPMedia
[src]
impl Borrow<SDPMediaRef> for SDPMedia
[src]fn borrow(&self) -> &SDPMediaRef
[src]
fn borrow(&self) -> &SDPMediaRef
[src]Immutably borrows from an owned value. Read more
impl BorrowMut<SDPMediaRef> for SDPMedia
[src]
impl BorrowMut<SDPMediaRef> for SDPMedia
[src]fn borrow_mut(&mut self) -> &mut SDPMediaRef
[src]
fn borrow_mut(&mut self) -> &mut SDPMediaRef
[src]Mutably borrows from an owned value. Read more
impl Debug for SDPMediaRef
[src]
impl Debug for SDPMediaRef
[src]impl Display for SDPMediaRef
[src]
impl Display for SDPMediaRef
[src]impl ToOwned for SDPMediaRef
[src]
impl ToOwned for SDPMediaRef
[src]fn to_owned(&self) -> SDPMedia
[src]
fn to_owned(&self) -> SDPMedia
[src]Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut Self::Owned)
[src]
fn clone_into(&self, target: &mut Self::Owned)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl Send for SDPMediaRef
[src]
impl Sync for SDPMediaRef
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more