Struct gstreamer_sdp::sdp_message::SDPMessageRef [−][src]
#[repr(transparent)]pub struct SDPMessageRef(_);
Implementations
impl SDPMessageRef
[src]
impl SDPMessageRef
[src]pub fn add_attribute(&mut self, key: &str, value: Option<&str>)
[src]
pub fn add_email(&mut self, email: &str)
[src]
pub fn add_media(&mut self, media: SDPMedia)
[src]
pub fn add_phone(&mut self, phone: &str)
[src]
pub fn add_time(&mut self, start: &str, stop: &str, repeat: &[&str])
[src]
pub fn add_zone(&mut self, adj_time: &str, typed_time: &str)
[src]
pub fn as_text(&self) -> Result<String, BoolError>
[src]
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 dump(&self)
[src]
pub fn emails_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 connection(&self) -> Option<&SDPConnection>
[src]
pub fn email(&self, idx: u32) -> Option<&str>
[src]
pub fn information(&self) -> Option<&str>
[src]
pub fn key(&self) -> Option<&SDPKey>
[src]
pub fn media(&self, idx: u32) -> Option<&SDPMediaRef>
[src]
pub fn media_mut(&mut self, idx: u32) -> Option<&mut SDPMediaRef>
[src]
pub fn origin(&self) -> Option<&SDPOrigin>
[src]
pub fn phone(&self, idx: u32) -> Option<&str>
[src]
pub fn session_name(&self) -> Option<&str>
[src]
pub fn time(&self, idx: u32) -> Option<&SDPTime>
[src]
pub fn uri(&self) -> Option<&str>
[src]
pub fn version(&self) -> Option<&str>
[src]
pub fn zone(&self, idx: u32) -> Option<&SDPZone>
[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_email(
&mut self,
idx: Option<u32>,
email: &str
) -> Result<(), BoolError>
[src]
&mut self,
idx: Option<u32>,
email: &str
) -> Result<(), BoolError>
pub fn insert_phone(
&mut self,
idx: Option<u32>,
phone: &str
) -> Result<(), BoolError>
[src]
&mut self,
idx: Option<u32>,
phone: &str
) -> Result<(), BoolError>
pub fn insert_time(
&mut self,
idx: Option<u32>,
time: SDPTime
) -> Result<(), BoolError>
[src]
&mut self,
idx: Option<u32>,
time: SDPTime
) -> Result<(), BoolError>
pub fn insert_zone(
&mut self,
idx: Option<u32>,
zone: SDPZone
) -> Result<(), BoolError>
[src]
&mut self,
idx: Option<u32>,
zone: SDPZone
) -> Result<(), BoolError>
pub fn medias_len(&self) -> u32
[src]
pub fn phones_len(&self) -> u32
[src]
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_email(&mut self, idx: u32) -> Result<(), BoolError>
[src]
pub fn remove_phone(&mut self, idx: u32) -> Result<(), BoolError>
[src]
pub fn remove_time(&mut self, idx: u32) -> Result<(), BoolError>
[src]
pub fn remove_zone(&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_email(&mut self, idx: u32, email: &str) -> Result<(), BoolError>
[src]
pub fn replace_phone(&mut self, idx: u32, phone: &str) -> Result<(), BoolError>
[src]
pub fn replace_time(&mut self, idx: u32, time: SDPTime) -> Result<(), BoolError>
[src]
pub fn replace_zone(&mut self, idx: u32, zone: SDPZone) -> Result<(), BoolError>
[src]
pub fn set_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 set_information(&mut self, information: &str)
[src]
pub fn set_key(&mut self, type_: &str, data: &str)
[src]
pub fn set_origin(
&mut self,
username: &str,
sess_id: &str,
sess_version: &str,
nettype: &str,
addrtype: &str,
addr: &str
)
[src]
&mut self,
username: &str,
sess_id: &str,
sess_version: &str,
nettype: &str,
addrtype: &str,
addr: &str
)
pub fn set_session_name(&mut self, session_name: &str)
[src]
pub fn set_uri(&mut self, uri: &str)
[src]
pub fn set_version(&mut self, version: &str)
[src]
pub fn times_len(&self) -> u32
[src]
pub fn zones_len(&self) -> u32
[src]
pub fn as_uri(&self, scheme: &str) -> 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 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 emails(&self) -> EmailsIter<'_>ⓘNotable traits for EmailsIter<'a>
impl<'a> Iterator for EmailsIter<'a> type Item = &'a str;
[src]
Notable traits for EmailsIter<'a>
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;
[src]
Notable traits for MediasIter<'a>
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;
[src]
Notable traits for MediasIterMut<'a>
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;
[src]
Notable traits for PhonesIter<'a>
impl<'a> Iterator for PhonesIter<'a> type Item = &'a str;
pub fn times(&self) -> TimesIter<'_>ⓘ
[src]
pub fn zones(&self) -> ZonesIter<'_>ⓘ
[src]
Trait Implementations
impl Borrow<SDPMessageRef> for SDPMessage
[src]
impl Borrow<SDPMessageRef> for SDPMessage
[src]fn borrow(&self) -> &SDPMessageRef
[src]
fn borrow(&self) -> &SDPMessageRef
[src]Immutably borrows from an owned value. Read more
impl BorrowMut<SDPMessageRef> for SDPMessage
[src]
impl BorrowMut<SDPMessageRef> for SDPMessage
[src]fn borrow_mut(&mut self) -> &mut SDPMessageRef
[src]
fn borrow_mut(&mut self) -> &mut SDPMessageRef
[src]Mutably borrows from an owned value. Read more
impl Debug for SDPMessageRef
[src]
impl Debug for SDPMessageRef
[src]impl Display for SDPMessageRef
[src]
impl Display for SDPMessageRef
[src]impl<'a> FromValue<'a> for &'a SDPMessageRef
[src]
impl<'a> FromValue<'a> for &'a SDPMessageRef
[src]type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
Value type checker.
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
[src]Get the contained value from a Value
. Read more
impl StaticType for SDPMessageRef
[src]
impl StaticType for SDPMessageRef
[src]fn static_type() -> Type
[src]
fn static_type() -> Type
[src]Returns the type identifier of Self
.
impl ToOwned for SDPMessageRef
[src]
impl ToOwned for SDPMessageRef
[src]type Owned = SDPMessage
type Owned = SDPMessage
The resulting type after obtaining ownership.
fn to_owned(&self) -> SDPMessage
[src]
fn to_owned(&self) -> SDPMessage
[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 ToValue for SDPMessageRef
[src]
impl ToValue for SDPMessageRef
[src]impl ToValueOptional for SDPMessageRef
[src]
impl ToValueOptional for SDPMessageRef
[src]fn to_value_optional(s: Option<&Self>) -> Value
[src]
fn to_value_optional(s: Option<&Self>) -> Value
[src]Convert an Option
to a Value
.
impl Send for SDPMessageRef
[src]
impl Sync for SDPMessageRef
[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
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
pub fn to_send_value(&self) -> SendValue
[src]Returns a SendValue
clone of self
.