[][src]Struct gstreamer_rtsp_server::RTSPThread

pub struct RTSPThread { /* fields omitted */ }

Implementations

impl RTSPThread[src]

pub unsafe fn from_glib_none(ptr: *const GstRTSPThread) -> Self[src]

pub unsafe fn from_glib_full(ptr: *const GstRTSPThread) -> Self[src]

pub unsafe fn from_glib_borrow(ptr: *const GstRTSPThread) -> Borrowed<Self>[src]

pub unsafe fn replace_ptr(&mut self, ptr: *mut GstRTSPThread)[src]

pub fn make_mut(&mut self) -> &mut RTSPThreadRef[src]

pub fn get_mut(&mut self) -> Option<&mut RTSPThreadRef>[src]

pub fn is_writable(&self) -> bool[src]

pub unsafe fn into_ptr(self) -> *mut GstRTSPThread[src]

impl RTSPThread[src]

pub fn new(type_: RTSPThreadType) -> Option<Self>[src]

Create a new thread object that can run a mainloop.

type_

the thread type

Returns

a RTSPThread.

Methods from Deref<Target = RTSPThreadRef>

pub unsafe fn as_ptr(&self) -> *const GstRTSPThread[src]

pub unsafe fn as_mut_ptr(&self) -> *mut GstRTSPThread[src]

pub fn copy(&self) -> RTSPThread[src]

pub fn reuse(&self) -> bool[src]

pub fn stop(&self)[src]

pub fn type_(&self) -> RTSPThreadType[src]

pub fn context(&self) -> MainContext[src]

pub fn loop_(&self) -> MainLoop[src]

Trait Implementations

impl AsRef<RTSPThreadRef> for RTSPThread[src]

impl Borrow<RTSPThreadRef> for RTSPThread[src]

impl Clone for RTSPThread[src]

impl Deref for RTSPThread[src]

type Target = RTSPThreadRef

The resulting type after dereferencing.

impl Drop for RTSPThread[src]

impl FromGlibContainerAsVec<*mut GstRTSPThread, *const *mut GstRTSPThread> for RTSPThread[src]

impl FromGlibContainerAsVec<*mut GstRTSPThread, *mut *mut GstRTSPThread> for RTSPThread[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstRTSPThread, *const *mut GstRTSPThread> for RTSPThread[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstRTSPThread, *mut *mut GstRTSPThread> for RTSPThread[src]

impl FromGlibPtrBorrow<*const GstRTSPThread> for RTSPThread[src]

impl FromGlibPtrBorrow<*mut GstRTSPThread> for RTSPThread[src]

impl FromGlibPtrFull<*const GstRTSPThread> for RTSPThread[src]

impl FromGlibPtrFull<*mut GstRTSPThread> for RTSPThread[src]

impl FromGlibPtrNone<*const GstRTSPThread> for RTSPThread[src]

impl FromGlibPtrNone<*mut GstRTSPThread> for RTSPThread[src]

impl<'a> FromValueOptional<'a> for RTSPThread[src]

impl GlibPtrDefault for RTSPThread[src]

type GlibType = *mut GstRTSPThread

impl Send for RTSPThread[src]

impl SetValue for RTSPThread[src]

impl SetValueOptional for RTSPThread[src]

impl StaticType for RTSPThread[src]

impl Sync for RTSPThread[src]

impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstRTSPThread> for RTSPThread[src]

type Storage = (Vec<Stash<'a, *mut GstRTSPThread, RTSPThread>>, Option<Vec<*mut GstRTSPThread>>)

impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstRTSPThread> for RTSPThread[src]

type Storage = (Vec<Stash<'a, *mut GstRTSPThread, Self>>, Option<Vec<*mut GstRTSPThread>>)

impl<'a> ToGlibPtr<'a, *const GstRTSPThread> for RTSPThread[src]

type Storage = &'a Self

impl<'a> ToGlibPtr<'a, *mut GstRTSPThread> for RTSPThread[src]

type Storage = &'a Self

impl<'a> ToGlibPtrMut<'a, *mut GstRTSPThread> for RTSPThread[src]

type Storage = &'a mut Self

Auto Trait Implementations

impl RefUnwindSafe for RTSPThread

impl Unpin for RTSPThread

impl UnwindSafe for RTSPThread

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.