[][src]Struct gstreamer_rtsp_server::RTSPAuth

pub struct RTSPAuth(_, _);

The authentication structure.

Implements

RTSPAuthExt, glib::object::ObjectExt, RTSPAuthExtManual

Implementations

impl RTSPAuth[src]

pub fn new() -> RTSPAuth[src]

Create a new RTSPAuth instance.

Returns

a new RTSPAuth

pub fn check(check: &str) -> Result<(), BoolError>[src]

Check if check is allowed in the current context.

check

the item to check

Returns

FALSE if check failed.

pub fn make_basic(user: &str, pass: &str) -> GString[src]

Construct a Basic authorisation token from user and pass.

user

a userid

pass

a password

Returns

the base64 encoding of the string user:pass. g_free after usage.

Trait Implementations

impl Clone for RTSPAuth[src]

impl Debug for RTSPAuth[src]

impl Default for RTSPAuth[src]

impl Eq for RTSPAuth[src]

impl Hash for RTSPAuth[src]

impl Ord for RTSPAuth[src]

impl<T: ObjectType> PartialEq<T> for RTSPAuth[src]

impl<T: ObjectType> PartialOrd<T> for RTSPAuth[src]

impl Send for RTSPAuth[src]

impl StaticType for RTSPAuth[src]

impl Sync for RTSPAuth[src]

Auto Trait Implementations

impl RefUnwindSafe for RTSPAuth

impl Unpin for RTSPAuth

impl UnwindSafe for RTSPAuth

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<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

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

impl<O> GObjectExtManualGst for O where
    O: IsA<Object>, 
[src]

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

impl<T> ObjectExt for T where
    T: ObjectType
[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.