Struct gstreamer_rtsp_server::RTSPThread
source · pub struct RTSPThread { /* private fields */ }
Implementations§
source§impl RTSPThread
impl RTSPThread
pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GstRTSPThread) -> &Self
pub unsafe fn from_glib_none(ptr: *const GstRTSPThread) -> Self
pub unsafe fn from_glib_full(ptr: *const GstRTSPThread) -> Self
pub unsafe fn from_glib_borrow(ptr: *const GstRTSPThread) -> Borrowed<Self>
pub unsafe fn replace_ptr(&mut self, ptr: *mut GstRTSPThread)
pub fn make_mut(&mut self) -> &mut RTSPThreadRef
pub fn get_mut(&mut self) -> Option<&mut RTSPThreadRef>
pub fn is_writable(&self) -> bool
pub fn upcast(self) -> MiniObject
source§impl RTSPThread
impl RTSPThread
sourcepub fn new(type_: RTSPThreadType) -> Option<Self>
pub fn new(type_: RTSPThreadType) -> Option<Self>
Methods from Deref<Target = RTSPThreadRef>§
pub fn as_ptr(&self) -> *const GstRTSPThread
pub fn as_mut_ptr(&self) -> *mut GstRTSPThread
pub fn copy(&self) -> RTSPThread
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn reuse(&self) -> bool
pub fn stop(&self)
pub fn type_(&self) -> RTSPThreadType
pub fn context(&self) -> MainContext
pub fn loop_(&self) -> MainLoop
Trait Implementations§
source§impl AsRef<RTSPThreadRef> for RTSPThread
impl AsRef<RTSPThreadRef> for RTSPThread
source§fn as_ref(&self) -> &RTSPThreadRef
fn as_ref(&self) -> &RTSPThreadRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Borrow<RTSPThreadRef> for RTSPThread
impl Borrow<RTSPThreadRef> for RTSPThread
source§fn borrow(&self) -> &RTSPThreadRef
fn borrow(&self) -> &RTSPThreadRef
Immutably borrows from an owned value. Read more
source§impl Clone for RTSPThread
impl Clone for RTSPThread
source§impl Deref for RTSPThread
impl Deref for RTSPThread
source§impl Drop for RTSPThread
impl Drop for RTSPThread
source§impl From<RTSPThread> for Value
impl From<RTSPThread> for Value
source§fn from(v: RTSPThread) -> Value
fn from(v: RTSPThread) -> Value
Converts to this type from the input type.
source§impl FromGlibContainerAsVec<*mut GstRTSPThread, *const *mut GstRTSPThread> for RTSPThread
impl FromGlibContainerAsVec<*mut GstRTSPThread, *const *mut GstRTSPThread> for RTSPThread
unsafe fn from_glib_none_num_as_vec( ptr: *const *mut GstRTSPThread, num: usize, ) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec( _: *const *mut GstRTSPThread, _: usize, ) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec( _: *const *mut GstRTSPThread, _: usize, ) -> Vec<Self>
source§impl FromGlibContainerAsVec<*mut GstRTSPThread, *mut *mut GstRTSPThread> for RTSPThread
impl FromGlibContainerAsVec<*mut GstRTSPThread, *mut *mut GstRTSPThread> for RTSPThread
unsafe fn from_glib_none_num_as_vec( ptr: *mut *mut GstRTSPThread, num: usize, ) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec( ptr: *mut *mut GstRTSPThread, num: usize, ) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec( ptr: *mut *mut GstRTSPThread, num: usize, ) -> Vec<Self>
source§impl FromGlibPtrArrayContainerAsVec<*mut GstRTSPThread, *const *mut GstRTSPThread> for RTSPThread
impl FromGlibPtrArrayContainerAsVec<*mut GstRTSPThread, *const *mut GstRTSPThread> for RTSPThread
unsafe fn from_glib_none_as_vec(ptr: *const *mut GstRTSPThread) -> Vec<Self>
unsafe fn from_glib_container_as_vec(_: *const *mut GstRTSPThread) -> Vec<Self>
unsafe fn from_glib_full_as_vec(_: *const *mut GstRTSPThread) -> Vec<Self>
source§impl FromGlibPtrArrayContainerAsVec<*mut GstRTSPThread, *mut *mut GstRTSPThread> for RTSPThread
impl FromGlibPtrArrayContainerAsVec<*mut GstRTSPThread, *mut *mut GstRTSPThread> for RTSPThread
unsafe fn from_glib_none_as_vec(ptr: *mut *mut GstRTSPThread) -> Vec<Self>
unsafe fn from_glib_container_as_vec(ptr: *mut *mut GstRTSPThread) -> Vec<Self>
unsafe fn from_glib_full_as_vec(ptr: *mut *mut GstRTSPThread) -> Vec<Self>
source§impl FromGlibPtrBorrow<*const GstRTSPThread> for RTSPThread
impl FromGlibPtrBorrow<*const GstRTSPThread> for RTSPThread
source§unsafe fn from_glib_borrow(ptr: *const GstRTSPThread) -> Borrowed<Self>
unsafe fn from_glib_borrow(ptr: *const GstRTSPThread) -> Borrowed<Self>
Safety Read more
source§impl FromGlibPtrBorrow<*mut GstRTSPThread> for RTSPThread
impl FromGlibPtrBorrow<*mut GstRTSPThread> for RTSPThread
source§unsafe fn from_glib_borrow(ptr: *mut GstRTSPThread) -> Borrowed<Self>
unsafe fn from_glib_borrow(ptr: *mut GstRTSPThread) -> Borrowed<Self>
Safety Read more
source§impl FromGlibPtrFull<*const GstRTSPThread> for RTSPThread
impl FromGlibPtrFull<*const GstRTSPThread> for RTSPThread
source§unsafe fn from_glib_full(ptr: *const GstRTSPThread) -> Self
unsafe fn from_glib_full(ptr: *const GstRTSPThread) -> Self
Safety Read more
source§impl FromGlibPtrFull<*mut GstRTSPThread> for RTSPThread
impl FromGlibPtrFull<*mut GstRTSPThread> for RTSPThread
source§unsafe fn from_glib_full(ptr: *mut GstRTSPThread) -> Self
unsafe fn from_glib_full(ptr: *mut GstRTSPThread) -> Self
Safety Read more
source§impl FromGlibPtrNone<*const GstRTSPThread> for RTSPThread
impl FromGlibPtrNone<*const GstRTSPThread> for RTSPThread
source§unsafe fn from_glib_none(ptr: *const GstRTSPThread) -> Self
unsafe fn from_glib_none(ptr: *const GstRTSPThread) -> Self
Safety Read more
source§impl FromGlibPtrNone<*mut GstRTSPThread> for RTSPThread
impl FromGlibPtrNone<*mut GstRTSPThread> for RTSPThread
source§unsafe fn from_glib_none(ptr: *mut GstRTSPThread) -> Self
unsafe fn from_glib_none(ptr: *mut GstRTSPThread) -> Self
Safety Read more
source§impl<'a> FromValue<'a> for &'a RTSPThread
impl<'a> FromValue<'a> for &'a RTSPThread
§type Checker = GenericValueTypeOrNoneChecker<&'a RTSPThread>
type Checker = GenericValueTypeOrNoneChecker<&'a RTSPThread>
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 RTSPThread
impl<'a> FromValue<'a> for RTSPThread
§type Checker = GenericValueTypeOrNoneChecker<RTSPThread>
type Checker = GenericValueTypeOrNoneChecker<RTSPThread>
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 RTSPThread
impl GlibPtrDefault for RTSPThread
type GlibType = *mut GstRTSPThread
source§impl HasParamSpec for RTSPThread
impl HasParamSpec for RTSPThread
type ParamSpec = ParamSpecBoxed
§type SetValue = RTSPThread
type SetValue = RTSPThread
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, RTSPThread>
fn param_spec_builder() -> Self::BuilderFn
source§impl IntoGlibPtr<*mut GstRTSPThread> for RTSPThread
impl IntoGlibPtr<*mut GstRTSPThread> for RTSPThread
source§unsafe fn into_glib_ptr(self) -> *mut GstRTSPThread
unsafe fn into_glib_ptr(self) -> *mut GstRTSPThread
Transfer: full.
source§impl IsMiniObject for RTSPThread
impl IsMiniObject for RTSPThread
type RefType = RTSPThreadRef
type FfiType = GstRTSPThread
source§impl StaticType for RTSPThread
impl StaticType for RTSPThread
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstRTSPThread> for RTSPThread
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstRTSPThread> for RTSPThread
type Storage = (PhantomData<&'a [RTSPThread]>, Option<Vec<*mut GstRTSPThread>>)
fn to_glib_none_from_slice( t: &'a [RTSPThread], ) -> (*const *mut GstRTSPThread, Self::Storage)
fn to_glib_container_from_slice( _: &'a [RTSPThread], ) -> (*const *mut GstRTSPThread, Self::Storage)
fn to_glib_full_from_slice(_: &[RTSPThread]) -> *const *mut GstRTSPThread
source§impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstRTSPThread> for RTSPThread
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstRTSPThread> for RTSPThread
type Storage = (PhantomData<&'a [RTSPThread]>, Option<Vec<*mut GstRTSPThread>>)
fn to_glib_none_from_slice( t: &'a [RTSPThread], ) -> (*mut *mut GstRTSPThread, Self::Storage)
fn to_glib_container_from_slice( t: &'a [RTSPThread], ) -> (*mut *mut GstRTSPThread, Self::Storage)
fn to_glib_full_from_slice(t: &[RTSPThread]) -> *mut *mut GstRTSPThread
source§impl<'a> ToGlibPtr<'a, *const GstRTSPThread> for RTSPThread
impl<'a> ToGlibPtr<'a, *const GstRTSPThread> for RTSPThread
type Storage = PhantomData<&'a RTSPThread>
source§fn to_glib_none(&'a self) -> Stash<'a, *const GstRTSPThread, Self>
fn to_glib_none(&'a self) -> Stash<'a, *const GstRTSPThread, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *const GstRTSPThread
fn to_glib_full(&self) -> *const GstRTSPThread
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 GstRTSPThread> for RTSPThread
impl<'a> ToGlibPtr<'a, *mut GstRTSPThread> for RTSPThread
type Storage = PhantomData<&'a RTSPThread>
source§fn to_glib_none(&'a self) -> Stash<'a, *mut GstRTSPThread, Self>
fn to_glib_none(&'a self) -> Stash<'a, *mut GstRTSPThread, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *mut GstRTSPThread
fn to_glib_full(&self) -> *mut GstRTSPThread
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 GstRTSPThread> for RTSPThread
impl<'a> ToGlibPtrMut<'a, *mut GstRTSPThread> for RTSPThread
type Storage = PhantomData<&'a mut RTSPThread>
source§fn to_glib_none_mut(&'a mut self) -> StashMut<'_, *mut GstRTSPThread, Self>
fn to_glib_none_mut(&'a mut self) -> StashMut<'_, *mut GstRTSPThread, Self>
Transfer: none. Read more
source§impl ToValue for RTSPThread
impl ToValue for RTSPThread
source§impl ToValueOptional for RTSPThread
impl ToValueOptional for RTSPThread
source§impl ValueType for RTSPThread
impl ValueType for RTSPThread
§type Type = RTSPThread
type Type = RTSPThread
Type to get the
Type
from. Read moreimpl Send for RTSPThread
impl Sync for RTSPThread
impl TransparentPtrType for RTSPThread
impl ValueTypeOptional for RTSPThread
Auto Trait Implementations§
impl Freeze for RTSPThread
impl RefUnwindSafe for RTSPThread
impl Unpin for RTSPThread
impl UnwindSafe for RTSPThread
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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
.