[][src]Enum gstreamer_rtsp::RTSPResult

#[non_exhaustive]pub enum RTSPResult {
    Ok,
    Error,
    Einval,
    Eintr,
    Enomem,
    Eresolv,
    Enotimpl,
    Esys,
    Eparse,
    Ewsastart,
    Ewsaversion,
    Eeof,
    Enet,
    Enotip,
    Etimeout,
    Etget,
    Etpost,
    Elast,
    // some variants omitted
}

Result codes from the RTSP functions.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ok

no error

Error

some unspecified error occurred

Einval

invalid arguments were provided to a function

Eintr

an operation was canceled

Enomem

no memory was available for the operation

Eresolv

a host resolve error occurred

Enotimpl

function not implemented

Esys

a system error occurred, errno contains more details

Eparse

a parsing error occurred

Ewsastart

windows networking could not start

Ewsaversion

windows networking stack has wrong version

Eeof

end-of-file was reached

Enet

a network problem occurred, h_errno contains more details

Enotip

the host is not an IP host

Etimeout

a timeout occurred

Etget

the tunnel GET request has been performed

Etpost

the tunnel POST request has been performed

Elast

last error

Trait Implementations

impl Clone for RTSPResult[src]

impl Copy for RTSPResult[src]

impl Debug for RTSPResult[src]

impl Eq for RTSPResult[src]

impl<'a> FromValue<'a> for RTSPResult[src]

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

impl Hash for RTSPResult[src]

impl Ord for RTSPResult[src]

impl PartialEq<RTSPResult> for RTSPResult[src]

impl PartialOrd<RTSPResult> for RTSPResult[src]

impl SetValue for RTSPResult[src]

impl StaticType for RTSPResult[src]

impl StructuralEq for RTSPResult[src]

impl StructuralPartialEq for RTSPResult[src]

Auto Trait Implementations

impl RefUnwindSafe for RTSPResult

impl Send for RTSPResult

impl Sync for RTSPResult

impl Unpin for RTSPResult

impl UnwindSafe for RTSPResult

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<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.