Struct gstreamer::message::Info[][src]

pub struct Info<'a>(_);

Implementations

impl<'a> Info<'a>[src]

pub fn new<T: MessageErrorDomain>(error: T, message: &str) -> Message[src]

pub fn builder<T: MessageErrorDomain>(
    error: T,
    message: &str
) -> InfoBuilder<'_, T>
[src]

pub fn error(&self) -> Error[src]

pub fn debug(&self) -> Option<String>[src]

pub fn details(&self) -> Option<&StructureRef>[src]

This is supported on crate feature v1_10 only.

Methods from Deref<Target = MessageRef>

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

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

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

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

pub fn seqnum(&self) -> Seqnum[src]

pub fn structure(&self) -> Option<&StructureRef>[src]

pub fn view(&self) -> MessageView<'_>[src]

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

Trait Implementations

impl<'a> Debug for Info<'a>[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<'a> Deref for Info<'a>[src]

type Target = MessageRef

The resulting type after dereferencing.

fn deref(&self) -> &Self::Target[src]

Dereferences the value.

Auto Trait Implementations

impl<'a> RefUnwindSafe for Info<'a>

impl<'a> Send for Info<'a>

impl<'a> Sync for Info<'a>

impl<'a> Unpin for Info<'a>

impl<'a> UnwindSafe for Info<'a>

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

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

Performs the conversion.

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.

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

Performs the conversion.