Struct gstreamer_sdp::sdp_message::SDPMessage
source · [−]#[repr(transparent)]pub struct SDPMessage { /* private fields */ }
Implementations
Methods from Deref<Target = SDPMessageRef>
pub fn insert_attribute(
&mut self,
idx: Option<u32>,
attr: SDPAttribute
) -> Result<(), BoolError>
pub fn insert_bandwidth(
&mut self,
idx: Option<u32>,
bw: SDPBandwidth
) -> Result<(), BoolError>
pub fn set_connection(
&mut self,
nettype: &str,
addrtype: &str,
address: &str,
ttl: u32,
addr_number: u32
)
pub fn set_origin(
&mut self,
username: &str,
sess_id: &str,
sess_version: &str,
nettype: &str,
addrtype: &str,
addr: &str
)
pub fn attributes(&self) -> AttributesIter<'_>ⓘNotable traits for AttributesIter<'a>impl<'a> Iterator for AttributesIter<'a> type Item = &'a SDPAttribute;
impl<'a> Iterator for AttributesIter<'a> type Item = &'a SDPAttribute;
pub fn bandwidths(&self) -> BandwidthsIter<'_>ⓘNotable traits for BandwidthsIter<'a>impl<'a> Iterator for BandwidthsIter<'a> type Item = &'a SDPBandwidth;
impl<'a> Iterator for BandwidthsIter<'a> type Item = &'a SDPBandwidth;
pub fn emails(&self) -> EmailsIter<'_>ⓘNotable traits for EmailsIter<'a>impl<'a> Iterator for EmailsIter<'a> type Item = &'a str;
impl<'a> Iterator for EmailsIter<'a> type Item = &'a str;
pub fn medias(&self) -> MediasIter<'_>ⓘNotable traits for MediasIter<'a>impl<'a> Iterator for MediasIter<'a> type Item = &'a SDPMediaRef;
impl<'a> Iterator for MediasIter<'a> type Item = &'a SDPMediaRef;
pub fn medias_mut(&mut self) -> MediasIterMut<'_>ⓘNotable traits for MediasIterMut<'a>impl<'a> Iterator for MediasIterMut<'a> type Item = &'a mut SDPMediaRef;
impl<'a> Iterator for MediasIterMut<'a> type Item = &'a mut SDPMediaRef;
pub fn phones(&self) -> PhonesIter<'_>ⓘNotable traits for PhonesIter<'a>impl<'a> Iterator for PhonesIter<'a> type Item = &'a str;
impl<'a> Iterator for PhonesIter<'a> type Item = &'a str;
Trait Implementations
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
type Target = SDPMessageRef
type Target = SDPMessageRef
The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.