Struct gstreamer_rtsp_server::RTSPToken [−][src]
pub struct RTSPToken { /* fields omitted */ }
Implementations
impl RTSPToken
[src]
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]
impl RTSPToken
[src]pub fn new(values: &[(&str, &(dyn ToSendValue + Sync))]) -> Self
[src]
pub fn new(values: &[(&str, &(dyn ToSendValue + Sync))]) -> Self
[src]Create a new Authorization token with the given fieldnames and values.
Arguments are given similar to crate::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 string(&self, field: &str) -> Option<String>
[src]
pub fn structure(&self) -> Option<Structure>
[src]
pub fn is_allowed(&self, field: &str) -> bool
[src]
Trait Implementations
impl AsRef<RTSPTokenRef> for RTSPToken
[src]
impl AsRef<RTSPTokenRef> for RTSPToken
[src]fn as_ref(&self) -> &RTSPTokenRef
[src]
fn as_ref(&self) -> &RTSPTokenRef
[src]Performs the conversion.
impl Borrow<RTSPTokenRef> for RTSPToken
[src]
impl Borrow<RTSPTokenRef> for RTSPToken
[src]fn borrow(&self) -> &RTSPTokenRef
[src]
fn borrow(&self) -> &RTSPTokenRef
[src]Immutably borrows from an owned value. Read more
impl Deref for RTSPToken
[src]
impl Deref for RTSPToken
[src]type Target = RTSPTokenRef
type Target = RTSPTokenRef
The resulting type after dereferencing.
impl FromGlibPtrArrayContainerAsVec<*mut GstRTSPToken, *const *mut GstRTSPToken> for RTSPToken
[src]
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]
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]
impl FromGlibPtrBorrow<*const GstRTSPToken> for RTSPToken
[src]unsafe fn from_glib_borrow(ptr: *const GstRTSPToken) -> Borrowed<Self>
[src]
unsafe fn from_glib_borrow(ptr: *const GstRTSPToken) -> Borrowed<Self>
[src]Safety Read more
impl FromGlibPtrBorrow<*mut GstRTSPToken> for RTSPToken
[src]
impl FromGlibPtrBorrow<*mut GstRTSPToken> for RTSPToken
[src]unsafe fn from_glib_borrow(ptr: *mut GstRTSPToken) -> Borrowed<Self>
[src]
unsafe fn from_glib_borrow(ptr: *mut GstRTSPToken) -> Borrowed<Self>
[src]Safety Read more
impl FromGlibPtrFull<*const GstRTSPToken> for RTSPToken
[src]
impl FromGlibPtrFull<*const GstRTSPToken> for RTSPToken
[src]unsafe fn from_glib_full(ptr: *const GstRTSPToken) -> Self
[src]
unsafe fn from_glib_full(ptr: *const GstRTSPToken) -> Self
[src]Safety Read more
impl FromGlibPtrFull<*mut GstRTSPToken> for RTSPToken
[src]
impl FromGlibPtrFull<*mut GstRTSPToken> for RTSPToken
[src]unsafe fn from_glib_full(ptr: *mut GstRTSPToken) -> Self
[src]
unsafe fn from_glib_full(ptr: *mut GstRTSPToken) -> Self
[src]Safety Read more
impl FromGlibPtrNone<*const GstRTSPToken> for RTSPToken
[src]
impl FromGlibPtrNone<*const GstRTSPToken> for RTSPToken
[src]unsafe fn from_glib_none(ptr: *const GstRTSPToken) -> Self
[src]
unsafe fn from_glib_none(ptr: *const GstRTSPToken) -> Self
[src]Safety Read more
impl FromGlibPtrNone<*mut GstRTSPToken> for RTSPToken
[src]
impl FromGlibPtrNone<*mut GstRTSPToken> for RTSPToken
[src]unsafe fn from_glib_none(ptr: *mut GstRTSPToken) -> Self
[src]
unsafe fn from_glib_none(ptr: *mut GstRTSPToken) -> Self
[src]Safety Read more
impl<'a> FromValue<'a> for RTSPToken
[src]
impl<'a> FromValue<'a> for RTSPToken
[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 GlibPtrDefault for RTSPToken
[src]
impl GlibPtrDefault for RTSPToken
[src]impl StaticType for RTSPToken
[src]
impl StaticType for RTSPToken
[src]fn static_type() -> Type
[src]
fn static_type() -> Type
[src]Returns the type identifier of Self
.
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstRTSPToken> 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]
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]
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_none(&'a self) -> Stash<'a, *const GstRTSPToken, Self>
[src]Transfer: none. Read more
fn to_glib_full(&self) -> *const GstRTSPToken
[src]
fn to_glib_full(&self) -> *const GstRTSPToken
[src]Transfer: full. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]Transfer: container. Read more
impl<'a> ToGlibPtr<'a, *mut GstRTSPToken> for RTSPToken
[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_none(&'a self) -> Stash<'a, *mut GstRTSPToken, Self>
[src]Transfer: none. Read more
fn to_glib_full(&self) -> *mut GstRTSPToken
[src]
fn to_glib_full(&self) -> *mut GstRTSPToken
[src]Transfer: full. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]Transfer: container. Read more
impl<'a> ToGlibPtrMut<'a, *mut GstRTSPToken> for RTSPToken
[src]
impl<'a> ToGlibPtrMut<'a, *mut GstRTSPToken> for RTSPToken
[src]impl ToValueOptional for RTSPToken
[src]
impl ToValueOptional for RTSPToken
[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 RTSPToken
[src]
impl Sync for RTSPToken
[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> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[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<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
.
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,
[src]
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,