[−][src]Struct gstreamer_sdp::sdp_message::SDPMessage  
Implementations
impl SDPMessage[src]
pub fn new() -> SDPMessage[src]
pub fn parse_buffer(data: &[u8]) -> Result<Self, ()>[src]
pub fn parse_uri(uri: &str) -> Result<Self, ()>[src]
Methods from Deref<Target = SDPMessageRef>
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<(), ()>[src]
pub fn bandwidths_len(&self) -> u32[src]
pub fn dump(&self)[src]
pub fn emails_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_connection(&self) -> Option<&SDPConnection>[src]
pub fn get_email(&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, idx: u32) -> Option<&SDPMediaRef>[src]
pub fn get_media_mut(&mut self, idx: u32) -> Option<&mut SDPMediaRef>[src]
pub fn get_origin(&self) -> Option<&SDPOrigin>[src]
pub fn get_phone(&self, idx: u32) -> Option<&str>[src]
pub fn get_session_name(&self) -> Option<&str>[src]
pub fn get_time(&self, idx: u32) -> Option<&SDPTime>[src]
pub fn get_uri(&self) -> Option<&str>[src]
pub fn get_version(&self) -> Option<&str>[src]
pub fn get_zone(&self, idx: u32) -> Option<&SDPZone>[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_email(&mut self, idx: Option<u32>, email: &str) -> Result<(), ()>[src]
pub fn insert_phone(&mut self, idx: Option<u32>, phone: &str) -> Result<(), ()>[src]
pub fn insert_time(&mut self, idx: Option<u32>, time: SDPTime) -> Result<(), ()>[src]
pub fn insert_zone(&mut self, idx: Option<u32>, zone: SDPZone) -> Result<(), ()>[src]
pub fn medias_len(&self) -> u32[src]
pub fn phones_len(&self) -> u32[src]
pub fn remove_attribute(&mut self, idx: u32) -> Result<(), ()>[src]
pub fn remove_bandwidth(&mut self, idx: u32) -> Result<(), ()>[src]
pub fn remove_email(&mut self, idx: u32) -> Result<(), ()>[src]
pub fn remove_phone(&mut self, idx: u32) -> Result<(), ()>[src]
pub fn remove_time(&mut self, idx: u32) -> Result<(), ()>[src]
pub fn remove_zone(&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_email(&mut self, idx: u32, email: &str) -> Result<(), ()>[src]
pub fn replace_phone(&mut self, idx: u32, phone: &str) -> Result<(), ()>[src]
pub fn replace_time(&mut self, idx: u32, time: SDPTime) -> Result<(), ()>[src]
pub fn replace_zone(&mut self, idx: u32, zone: SDPZone) -> Result<(), ()>[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]
fn borrow(&self) -> &SDPMessageRef[src]
impl BorrowMut<SDPMessageRef> for SDPMessage[src]
fn borrow_mut(&mut self) -> &mut SDPMessageRef[src]
impl Clone for SDPMessage[src]
fn clone(&self) -> SDPMessage[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for SDPMessage[src]
impl Default for SDPMessage[src]
impl Deref for SDPMessage[src]
type Target = SDPMessageRef
The resulting type after dereferencing.
fn deref(&self) -> &SDPMessageRef[src]
impl DerefMut for SDPMessage[src]
fn deref_mut(&mut self) -> &mut SDPMessageRef[src]
impl Display for SDPMessage[src]
impl Eq for SDPMessage[src]
impl Hash for SDPMessage[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 SDPMessage[src]
fn cmp(&self, other: &SDPMessage) -> Ordering[src]
#[must_use]fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self[src]
impl PartialEq<SDPMessage> for SDPMessage[src]
fn eq(&self, other: &SDPMessage) -> bool[src]
fn ne(&self, other: &SDPMessage) -> bool[src]
impl PartialOrd<SDPMessage> for SDPMessage[src]
fn partial_cmp(&self, other: &SDPMessage) -> Option<Ordering>[src]
fn lt(&self, other: &SDPMessage) -> bool[src]
fn le(&self, other: &SDPMessage) -> bool[src]
fn gt(&self, other: &SDPMessage) -> bool[src]
fn ge(&self, other: &SDPMessage) -> bool[src]
impl Send for SDPMessage[src]
impl StaticType for SDPMessage[src]
fn static_type() -> Type[src]
impl StructuralEq for SDPMessage[src]
impl StructuralPartialEq for SDPMessage[src]
impl Sync for SDPMessage[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> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized, [src]
T: ToValue + SetValue + Send + ?Sized,
fn to_send_value(&self) -> SendValue[src]
impl<T> ToString for T where
    T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T> ToValue for T where
    T: SetValue + ?Sized, [src]
T: SetValue + ?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>,