gstreamer_rtsp_server

Struct RTSPThreadRef

Source
pub struct RTSPThreadRef(/* private fields */);

Implementations§

Source§

impl RTSPThreadRef

Source

pub fn as_ptr(&self) -> *const GstRTSPThread

Source

pub fn as_mut_ptr(&self) -> *mut GstRTSPThread

Source

pub unsafe fn from_ptr<'a>(ptr: *const GstRTSPThread) -> &'a Self

Source

pub unsafe fn from_mut_ptr<'a>(ptr: *mut GstRTSPThread) -> &'a mut Self

Source

pub fn copy(&self) -> RTSPThread

Source

pub fn upcast_ref(&self) -> &MiniObjectRef

Source

pub fn upcast_mut(&mut self) -> &mut MiniObjectRef

Source

pub fn ptr_eq(this: &RTSPThreadRef, other: &RTSPThreadRef) -> bool

Source§

impl RTSPThreadRef

Source

pub fn reuse(&self) -> bool

Source

pub fn stop(&self)

Source

pub fn type_(&self) -> RTSPThreadType

Source

pub fn context(&self) -> MainContext

Source

pub fn loop_(&self) -> MainLoop

Trait Implementations§

Source§

impl AsRef<RTSPThreadRef> for RTSPThread

Source§

fn as_ref(&self) -> &RTSPThreadRef

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Borrow<RTSPThreadRef> for RTSPThread

Source§

fn borrow(&self) -> &RTSPThreadRef

Immutably borrows from an owned value. Read more
Source§

impl<'a> FromValue<'a> for &'a RTSPThreadRef

Source§

type Checker = GenericValueTypeOrNoneChecker<&'a RTSPThreadRef>

Value type checker.
Source§

unsafe fn from_value(value: &'a Value) -> Self

Get the contained value from a Value. Read more
Source§

impl GlibPtrDefault for RTSPThreadRef

Source§

impl StaticType for RTSPThreadRef

Source§

fn static_type() -> Type

Returns the type identifier of Self.
Source§

impl ToOwned for RTSPThreadRef

Source§

type Owned = RTSPThread

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> RTSPThread

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · Source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl Send for RTSPThreadRef

Source§

impl Sync for RTSPThreadRef

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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 more
Source§

impl<T> StaticTypeExt for T
where T: StaticType,

Source§

fn ensure_type()

Ensures that the type has been registered with the type system.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.