[−][src]Struct gstreamer_rtsp_server::RTSPToken
Implementations
impl RTSPToken
[src]
pub unsafe fn from_glib_none(ptr: *const GstRTSPToken) -> Self
[src]
pub unsafe fn from_glib_full(ptr: *const GstRTSPToken) -> Self
[src]
pub unsafe fn from_glib_borrow(ptr: *const GstRTSPToken) -> Borrowed<Self>
[src]
pub unsafe fn replace_ptr(&mut self, ptr: *mut GstRTSPToken)
[src]
pub fn make_mut(&mut self) -> &mut RTSPTokenRef
[src]
pub fn get_mut(&mut self) -> Option<&mut RTSPTokenRef>
[src]
pub fn is_writable(&self) -> bool
[src]
pub unsafe fn into_ptr(self) -> *mut GstRTSPToken
[src]
impl RTSPToken
[src]
pub fn new_empty() -> Self
[src]
pub fn new(values: &[(&str, &dyn ToSendValue)]) -> Self
[src]
Create a new Authorization token with the given fieldnames and values.
Arguments are given similar to gst::Structure::new
.
firstfield
the first fieldname
Returns
a new authorization token.
Methods from Deref<Target = RTSPTokenRef>
pub unsafe fn as_ptr(&self) -> *const GstRTSPToken
[src]
pub unsafe fn as_mut_ptr(&self) -> *mut GstRTSPToken
[src]
pub fn copy(&self) -> RTSPToken
[src]
pub fn get_string(&self, field: &str) -> Option<String>
[src]
pub fn get_structure(&self) -> Option<Structure>
[src]
pub fn is_allowed(&self, field: &str) -> bool
[src]
Trait Implementations
impl AsRef<RTSPTokenRef> for RTSPToken
[src]
fn as_ref(&self) -> &RTSPTokenRef
[src]
impl Borrow<RTSPTokenRef> for RTSPToken
[src]
fn borrow(&self) -> &RTSPTokenRef
[src]
impl Clone for RTSPToken
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RTSPToken
[src]
impl Deref for RTSPToken
[src]
type Target = RTSPTokenRef
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl Drop for RTSPToken
[src]
impl FromGlibContainerAsVec<*mut GstRTSPToken, *const *mut GstRTSPToken> for RTSPToken
[src]
unsafe fn from_glib_none_num_as_vec(
ptr: *const *mut GstRTSPToken,
num: usize
) -> Vec<Self>
[src]
ptr: *const *mut GstRTSPToken,
num: usize
) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec(
_: *const *mut GstRTSPToken,
_: usize
) -> Vec<Self>
[src]
_: *const *mut GstRTSPToken,
_: usize
) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec(
_: *const *mut GstRTSPToken,
_: usize
) -> Vec<Self>
[src]
_: *const *mut GstRTSPToken,
_: usize
) -> Vec<Self>
impl FromGlibContainerAsVec<*mut GstRTSPToken, *mut *mut GstRTSPToken> for RTSPToken
[src]
unsafe fn from_glib_none_num_as_vec(
ptr: *mut *mut GstRTSPToken,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut GstRTSPToken,
num: usize
) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec(
ptr: *mut *mut GstRTSPToken,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut GstRTSPToken,
num: usize
) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec(
ptr: *mut *mut GstRTSPToken,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut GstRTSPToken,
num: usize
) -> Vec<Self>
impl FromGlibPtrArrayContainerAsVec<*mut GstRTSPToken, *const *mut GstRTSPToken> for RTSPToken
[src]
unsafe fn from_glib_none_as_vec(ptr: *const *mut GstRTSPToken) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(_: *const *mut GstRTSPToken) -> Vec<Self>
[src]
unsafe fn from_glib_full_as_vec(_: *const *mut GstRTSPToken) -> Vec<Self>
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstRTSPToken, *mut *mut GstRTSPToken> for RTSPToken
[src]
unsafe fn from_glib_none_as_vec(ptr: *mut *mut GstRTSPToken) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(ptr: *mut *mut GstRTSPToken) -> Vec<Self>
[src]
unsafe fn from_glib_full_as_vec(ptr: *mut *mut GstRTSPToken) -> Vec<Self>
[src]
impl FromGlibPtrBorrow<*const GstRTSPToken> for RTSPToken
[src]
unsafe fn from_glib_borrow(ptr: *const GstRTSPToken) -> Borrowed<Self>
[src]
impl FromGlibPtrBorrow<*mut GstRTSPToken> for RTSPToken
[src]
unsafe fn from_glib_borrow(ptr: *mut GstRTSPToken) -> Borrowed<Self>
[src]
impl FromGlibPtrFull<*const GstRTSPToken> for RTSPToken
[src]
unsafe fn from_glib_full(ptr: *const GstRTSPToken) -> Self
[src]
impl FromGlibPtrFull<*mut GstRTSPToken> for RTSPToken
[src]
unsafe fn from_glib_full(ptr: *mut GstRTSPToken) -> Self
[src]
impl FromGlibPtrNone<*const GstRTSPToken> for RTSPToken
[src]
unsafe fn from_glib_none(ptr: *const GstRTSPToken) -> Self
[src]
impl FromGlibPtrNone<*mut GstRTSPToken> for RTSPToken
[src]
unsafe fn from_glib_none(ptr: *mut GstRTSPToken) -> Self
[src]
impl<'a> FromValueOptional<'a> for RTSPToken
[src]
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>
[src]
impl GlibPtrDefault for RTSPToken
[src]
impl Send for RTSPToken
[src]
impl SetValue for RTSPToken
[src]
impl SetValueOptional for RTSPToken
[src]
unsafe fn set_value_optional(v: &mut Value, s: Option<&Self>)
[src]
impl StaticType for RTSPToken
[src]
fn static_type() -> Type
[src]
impl Sync for RTSPToken
[src]
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstRTSPToken> for RTSPToken
[src]
type Storage = (Vec<Stash<'a, *mut GstRTSPToken, RTSPToken>>, Option<Vec<*mut GstRTSPToken>>)
fn to_glib_none_from_slice(
t: &'a [RTSPToken]
) -> (*const *mut GstRTSPToken, Self::Storage)
[src]
t: &'a [RTSPToken]
) -> (*const *mut GstRTSPToken, Self::Storage)
fn to_glib_container_from_slice(
_: &'a [RTSPToken]
) -> (*const *mut GstRTSPToken, Self::Storage)
[src]
_: &'a [RTSPToken]
) -> (*const *mut GstRTSPToken, Self::Storage)
fn to_glib_full_from_slice(_: &[RTSPToken]) -> *const *mut GstRTSPToken
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstRTSPToken> for RTSPToken
[src]
type Storage = (Vec<Stash<'a, *mut GstRTSPToken, Self>>, Option<Vec<*mut GstRTSPToken>>)
fn to_glib_none_from_slice(
t: &'a [RTSPToken]
) -> (*mut *mut GstRTSPToken, Self::Storage)
[src]
t: &'a [RTSPToken]
) -> (*mut *mut GstRTSPToken, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [RTSPToken]
) -> (*mut *mut GstRTSPToken, Self::Storage)
[src]
t: &'a [RTSPToken]
) -> (*mut *mut GstRTSPToken, Self::Storage)
fn to_glib_full_from_slice(t: &[RTSPToken]) -> *mut *mut GstRTSPToken
[src]
impl<'a> ToGlibPtr<'a, *const GstRTSPToken> for RTSPToken
[src]
type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *const GstRTSPToken, Self>
[src]
fn to_glib_full(&self) -> *const GstRTSPToken
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
impl<'a> ToGlibPtr<'a, *mut GstRTSPToken> for RTSPToken
[src]
type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *mut GstRTSPToken, Self>
[src]
fn to_glib_full(&self) -> *mut GstRTSPToken
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
impl<'a> ToGlibPtrMut<'a, *mut GstRTSPToken> for RTSPToken
[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<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
[src]
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_container_from_slice(
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
[src]
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_full_from_slice(_t: &[T]) -> *const GList
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
[src]
t: &'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
fn to_glib_container_from_slice(
_t: &'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
[src]
_t: &'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
fn to_glib_full_from_slice(_t: &[T]) -> *const GPtrArray
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GArray
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
[src]
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
[src]
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GList
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GPtrArray
[src]
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> 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>,