[][src]Struct gstreamer_rtsp_server::RTSPToken

pub struct RTSPToken { /* fields omitted */ }

Implementations

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]

pub fn new_empty() -> Self[src]

Create a new empty Authorization token.

Returns

a new empty authorization token.

pub fn new(values: &[(&str, &dyn ToSendValue)]) -> Self[src]

Create a new Authorization token with the given fieldnames and values. Arguments are given similar to 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 get_string(&self, field: &str) -> Option<String>[src]

pub fn get_structure(&self) -> Option<Structure>[src]

pub fn is_allowed(&self, field: &str) -> bool[src]

Trait Implementations

impl AsRef<RTSPTokenRef> for RTSPToken[src]

impl Borrow<RTSPTokenRef> for RTSPToken[src]

impl Clone for RTSPToken[src]

impl Debug for RTSPToken[src]

impl Deref for RTSPToken[src]

type Target = RTSPTokenRef

The resulting type after dereferencing.

impl Drop for RTSPToken[src]

impl FromGlibContainerAsVec<*mut GstRTSPToken, *const *mut GstRTSPToken> for RTSPToken[src]

impl FromGlibContainerAsVec<*mut GstRTSPToken, *mut *mut GstRTSPToken> for RTSPToken[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstRTSPToken, *const *mut GstRTSPToken> for RTSPToken[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstRTSPToken, *mut *mut GstRTSPToken> for RTSPToken[src]

impl FromGlibPtrBorrow<*const GstRTSPToken> for RTSPToken[src]

impl FromGlibPtrBorrow<*mut GstRTSPToken> for RTSPToken[src]

impl FromGlibPtrFull<*const GstRTSPToken> for RTSPToken[src]

impl FromGlibPtrFull<*mut GstRTSPToken> for RTSPToken[src]

impl FromGlibPtrNone<*const GstRTSPToken> for RTSPToken[src]

impl FromGlibPtrNone<*mut GstRTSPToken> for RTSPToken[src]

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

impl GlibPtrDefault for RTSPToken[src]

type GlibType = *mut GstRTSPToken

impl Send for RTSPToken[src]

impl SetValue for RTSPToken[src]

impl SetValueOptional for RTSPToken[src]

impl StaticType for RTSPToken[src]

impl Sync for RTSPToken[src]

impl<'a> ToGlibContainerFromSlice<'a, *const *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>>)

impl<'a> ToGlibPtr<'a, *const GstRTSPToken> for RTSPToken[src]

type Storage = &'a Self

impl<'a> ToGlibPtr<'a, *mut GstRTSPToken> for RTSPToken[src]

type Storage = &'a Self

impl<'a> ToGlibPtrMut<'a, *mut GstRTSPToken> for RTSPToken[src]

type Storage = &'a mut Self

Auto Trait Implementations

impl RefUnwindSafe for RTSPToken

impl Unpin for RTSPToken

impl UnwindSafe for RTSPToken

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.