Struct gstreamer_rtsp_server::RTSPToken
source · pub struct RTSPToken { /* private fields */ }
Implementations§
source§impl RTSPToken
impl RTSPToken
pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GstRTSPToken) -> &Self
pub unsafe fn from_glib_none(ptr: *const GstRTSPToken) -> Self
pub unsafe fn from_glib_full(ptr: *const GstRTSPToken) -> Self
pub unsafe fn from_glib_borrow(ptr: *const GstRTSPToken) -> Borrowed<Self>
pub unsafe fn replace_ptr(&mut self, ptr: *mut GstRTSPToken)
pub fn make_mut(&mut self) -> &mut RTSPTokenRef
pub fn get_mut(&mut self) -> Option<&mut RTSPTokenRef>
pub fn is_writable(&self) -> bool
pub fn upcast(self) -> MiniObject
Methods from Deref<Target = RTSPTokenRef>§
pub fn as_ptr(&self) -> *const GstRTSPToken
pub fn as_mut_ptr(&self) -> *mut GstRTSPToken
pub fn copy(&self) -> RTSPToken
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn string(&self, field: &str) -> Option<String>
pub fn structure(&self) -> Option<Structure>
pub fn is_allowed(&self, field: &str) -> bool
Trait Implementations§
source§impl AsRef<RTSPTokenRef> for RTSPToken
impl AsRef<RTSPTokenRef> for RTSPToken
source§fn as_ref(&self) -> &RTSPTokenRef
fn as_ref(&self) -> &RTSPTokenRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Borrow<RTSPTokenRef> for RTSPToken
impl Borrow<RTSPTokenRef> for RTSPToken
source§fn borrow(&self) -> &RTSPTokenRef
fn borrow(&self) -> &RTSPTokenRef
Immutably borrows from an owned value. Read more
source§impl FromGlibContainerAsVec<*mut GstRTSPToken, *const *mut GstRTSPToken> for RTSPToken
impl FromGlibContainerAsVec<*mut GstRTSPToken, *const *mut GstRTSPToken> for RTSPToken
unsafe fn from_glib_none_num_as_vec( ptr: *const *mut GstRTSPToken, num: usize, ) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec( _: *const *mut GstRTSPToken, _: usize, ) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec( _: *const *mut GstRTSPToken, _: usize, ) -> Vec<Self>
source§impl FromGlibContainerAsVec<*mut GstRTSPToken, *mut *mut GstRTSPToken> for RTSPToken
impl FromGlibContainerAsVec<*mut GstRTSPToken, *mut *mut GstRTSPToken> for RTSPToken
unsafe fn from_glib_none_num_as_vec( ptr: *mut *mut GstRTSPToken, num: usize, ) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec( ptr: *mut *mut GstRTSPToken, num: usize, ) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec( ptr: *mut *mut GstRTSPToken, num: usize, ) -> Vec<Self>
source§impl FromGlibPtrArrayContainerAsVec<*mut GstRTSPToken, *const *mut GstRTSPToken> for RTSPToken
impl FromGlibPtrArrayContainerAsVec<*mut GstRTSPToken, *const *mut GstRTSPToken> for RTSPToken
unsafe fn from_glib_none_as_vec(ptr: *const *mut GstRTSPToken) -> Vec<Self>
unsafe fn from_glib_container_as_vec(_: *const *mut GstRTSPToken) -> Vec<Self>
unsafe fn from_glib_full_as_vec(_: *const *mut GstRTSPToken) -> Vec<Self>
source§impl FromGlibPtrArrayContainerAsVec<*mut GstRTSPToken, *mut *mut GstRTSPToken> for RTSPToken
impl FromGlibPtrArrayContainerAsVec<*mut GstRTSPToken, *mut *mut GstRTSPToken> for RTSPToken
unsafe fn from_glib_none_as_vec(ptr: *mut *mut GstRTSPToken) -> Vec<Self>
unsafe fn from_glib_container_as_vec(ptr: *mut *mut GstRTSPToken) -> Vec<Self>
unsafe fn from_glib_full_as_vec(ptr: *mut *mut GstRTSPToken) -> Vec<Self>
source§impl FromGlibPtrBorrow<*const GstRTSPToken> for RTSPToken
impl FromGlibPtrBorrow<*const GstRTSPToken> for RTSPToken
source§unsafe fn from_glib_borrow(ptr: *const GstRTSPToken) -> Borrowed<Self>
unsafe fn from_glib_borrow(ptr: *const GstRTSPToken) -> Borrowed<Self>
Safety Read more
source§impl FromGlibPtrBorrow<*mut GstRTSPToken> for RTSPToken
impl FromGlibPtrBorrow<*mut GstRTSPToken> for RTSPToken
source§unsafe fn from_glib_borrow(ptr: *mut GstRTSPToken) -> Borrowed<Self>
unsafe fn from_glib_borrow(ptr: *mut GstRTSPToken) -> Borrowed<Self>
Safety Read more
source§impl FromGlibPtrFull<*const GstRTSPToken> for RTSPToken
impl FromGlibPtrFull<*const GstRTSPToken> for RTSPToken
source§unsafe fn from_glib_full(ptr: *const GstRTSPToken) -> Self
unsafe fn from_glib_full(ptr: *const GstRTSPToken) -> Self
Safety Read more
source§impl FromGlibPtrFull<*mut GstRTSPToken> for RTSPToken
impl FromGlibPtrFull<*mut GstRTSPToken> for RTSPToken
source§unsafe fn from_glib_full(ptr: *mut GstRTSPToken) -> Self
unsafe fn from_glib_full(ptr: *mut GstRTSPToken) -> Self
Safety Read more
source§impl FromGlibPtrNone<*const GstRTSPToken> for RTSPToken
impl FromGlibPtrNone<*const GstRTSPToken> for RTSPToken
source§unsafe fn from_glib_none(ptr: *const GstRTSPToken) -> Self
unsafe fn from_glib_none(ptr: *const GstRTSPToken) -> Self
Safety Read more
source§impl FromGlibPtrNone<*mut GstRTSPToken> for RTSPToken
impl FromGlibPtrNone<*mut GstRTSPToken> for RTSPToken
source§unsafe fn from_glib_none(ptr: *mut GstRTSPToken) -> Self
unsafe fn from_glib_none(ptr: *mut GstRTSPToken) -> Self
Safety Read more
source§impl<'a> FromValue<'a> for &'a RTSPToken
impl<'a> FromValue<'a> for &'a RTSPToken
§type Checker = GenericValueTypeOrNoneChecker<&'a RTSPToken>
type Checker = GenericValueTypeOrNoneChecker<&'a RTSPToken>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl<'a> FromValue<'a> for RTSPToken
impl<'a> FromValue<'a> for RTSPToken
§type Checker = GenericValueTypeOrNoneChecker<RTSPToken>
type Checker = GenericValueTypeOrNoneChecker<RTSPToken>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl GlibPtrDefault for RTSPToken
impl GlibPtrDefault for RTSPToken
type GlibType = *mut GstRTSPToken
source§impl HasParamSpec for RTSPToken
impl HasParamSpec for RTSPToken
source§impl IntoGlibPtr<*mut GstRTSPToken> for RTSPToken
impl IntoGlibPtr<*mut GstRTSPToken> for RTSPToken
source§unsafe fn into_glib_ptr(self) -> *mut GstRTSPToken
unsafe fn into_glib_ptr(self) -> *mut GstRTSPToken
Transfer: full.
source§impl IsMiniObject for RTSPToken
impl IsMiniObject for RTSPToken
type RefType = RTSPTokenRef
type FfiType = GstRTSPToken
source§impl StaticType for RTSPToken
impl StaticType for RTSPToken
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstRTSPToken> for RTSPToken
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstRTSPToken> for RTSPToken
type Storage = (PhantomData<&'a [RTSPToken]>, Option<Vec<*mut GstRTSPToken>>)
fn to_glib_none_from_slice( t: &'a [RTSPToken], ) -> (*const *mut GstRTSPToken, Self::Storage)
fn to_glib_container_from_slice( _: &'a [RTSPToken], ) -> (*const *mut GstRTSPToken, Self::Storage)
fn to_glib_full_from_slice(_: &[RTSPToken]) -> *const *mut GstRTSPToken
source§impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstRTSPToken> for RTSPToken
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstRTSPToken> for RTSPToken
type Storage = (PhantomData<&'a [RTSPToken]>, Option<Vec<*mut GstRTSPToken>>)
fn to_glib_none_from_slice( t: &'a [RTSPToken], ) -> (*mut *mut GstRTSPToken, Self::Storage)
fn to_glib_container_from_slice( t: &'a [RTSPToken], ) -> (*mut *mut GstRTSPToken, Self::Storage)
fn to_glib_full_from_slice(t: &[RTSPToken]) -> *mut *mut GstRTSPToken
source§impl<'a> ToGlibPtr<'a, *const GstRTSPToken> for RTSPToken
impl<'a> ToGlibPtr<'a, *const GstRTSPToken> for RTSPToken
type Storage = PhantomData<&'a RTSPToken>
source§fn to_glib_none(&'a self) -> Stash<'a, *const GstRTSPToken, Self>
fn to_glib_none(&'a self) -> Stash<'a, *const GstRTSPToken, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *const GstRTSPToken
fn to_glib_full(&self) -> *const GstRTSPToken
Transfer: full. Read more
source§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl<'a> ToGlibPtr<'a, *mut GstRTSPToken> for RTSPToken
impl<'a> ToGlibPtr<'a, *mut GstRTSPToken> for RTSPToken
type Storage = PhantomData<&'a RTSPToken>
source§fn to_glib_none(&'a self) -> Stash<'a, *mut GstRTSPToken, Self>
fn to_glib_none(&'a self) -> Stash<'a, *mut GstRTSPToken, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *mut GstRTSPToken
fn to_glib_full(&self) -> *mut GstRTSPToken
Transfer: full. Read more
source§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl<'a> ToGlibPtrMut<'a, *mut GstRTSPToken> for RTSPToken
impl<'a> ToGlibPtrMut<'a, *mut GstRTSPToken> for RTSPToken
type Storage = PhantomData<&'a mut RTSPToken>
source§fn to_glib_none_mut(&'a mut self) -> StashMut<'_, *mut GstRTSPToken, Self>
fn to_glib_none_mut(&'a mut self) -> StashMut<'_, *mut GstRTSPToken, Self>
Transfer: none. Read more
source§impl ToValueOptional for RTSPToken
impl ToValueOptional for RTSPToken
source§fn to_value_optional(s: Option<&Self>) -> Value
fn to_value_optional(s: Option<&Self>) -> Value
Convert an
Option
to a Value
.impl Send for RTSPToken
impl Sync for RTSPToken
impl TransparentPtrType for RTSPToken
impl ValueTypeOptional for RTSPToken
Auto Trait Implementations§
impl Freeze for RTSPToken
impl RefUnwindSafe for RTSPToken
impl Unpin for RTSPToken
impl UnwindSafe for RTSPToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *const GList) -> Vec<T>
unsafe fn from_glib_container_as_vec(_: *const GList) -> Vec<T>
unsafe fn from_glib_full_as_vec(_: *const GList) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *const GPtrArray) -> Vec<T>
unsafe fn from_glib_container_as_vec(_: *const GPtrArray) -> Vec<T>
unsafe fn from_glib_full_as_vec(_: *const GPtrArray) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *const GSList) -> Vec<T>
unsafe fn from_glib_container_as_vec(_: *const GSList) -> Vec<T>
unsafe fn from_glib_full_as_vec(_: *const GSList) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *mut GList) -> Vec<T>
unsafe fn from_glib_container_as_vec(ptr: *mut GList) -> Vec<T>
unsafe fn from_glib_full_as_vec(ptr: *mut GList) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *mut GPtrArray) -> Vec<T>
unsafe fn from_glib_container_as_vec(ptr: *mut GPtrArray) -> Vec<T>
unsafe fn from_glib_full_as_vec(ptr: *mut GPtrArray) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *mut GSList) -> Vec<T>
unsafe fn from_glib_container_as_vec(ptr: *mut GSList) -> Vec<T>
unsafe fn from_glib_full_as_vec(ptr: *mut GSList) -> Vec<T>
source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.