Struct gstreamer_rtsp::RTSPUrl [−][src]
pub struct RTSPUrl(_);
Expand description
Provides helper functions to handle RTSP urls.
Implementations
Splits the path of self
on ‘/’ boundaries, decoding the resulting components,
The decoding performed by this routine is “URI decoding”, as defined in RFC
3986, commonly known as percent-decoding. For example, a string “foo`2fbar" will decode to "foo/bar" -- the \
2f being replaced by the corresponding byte with hex value 0x2f. Note that there is no guarantee that the resulting byte sequence is valid in any given encoding. As a special case, \
00` is not
unescaped to NUL, as that would prematurely terminate the string.
Also note that since paths usually start with a slash, the first component will usually be the empty string.
Returns
None
-terminated array of URL components. Free with
g_strfreev()
when no longer needed.
Get a newly allocated string describing the request URI for self
.
Returns
a string with the request URI. g_free()
after usage.
This is supported on crate feature v1_18
only.
v1_18
only.Get a newly allocated string describing the request URI for self
combined with the control path for control_path
control_path
an RTSP aggregate control path
Returns
a string with the request URI combined with the control path.
g_free()
after usage.
Trait Implementations
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
impl RefUnwindSafe for RTSPUrl
impl UnwindSafe for RTSPUrl
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,
[src]