Struct gstreamer_check::harness::Ref[][src]

pub struct Ref<'a>(_, _);

Methods from Deref<Target = Harness>

pub fn buffers_in_queue(&self) -> u32[src]

The number of GstBuffers currently in the crate::Harness sinkpad [crate::glib::AsyncQueue]

MT safe.

Returns

a guint number of buffers in the queue

pub fn buffers_received(&self) -> u32[src]

The total number of GstBuffers that has arrived on the crate::Harness sinkpad. This number includes buffers that have been dropped as well as buffers that have already been pulled out.

MT safe.

Returns

a guint number of buffers received

pub fn events_in_queue(&self) -> u32[src]

The number of GstEvents currently in the crate::Harness sinkpad [crate::glib::AsyncQueue]

MT safe.

Returns

a guint number of events in the queue

pub fn events_received(&self) -> u32[src]

The total number of GstEvents that has arrived on the crate::Harness sinkpad This number includes events handled by the harness as well as events that have already been pulled out.

MT safe.

Returns

a guint number of events received

pub fn last_pushed_timestamp(&self) -> ClockTime[src]

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

pub fn query_latency(&self) -> ClockTime[src]

Get the min latency reported by any harnessed crate::gst::Element.

MT safe.

Returns

a crate::gst::ClockTime with min latency

pub fn upstream_events_in_queue(&self) -> u32[src]

The number of GstEvents currently in the crate::Harness srcpad [crate::glib::AsyncQueue]

MT safe.

Returns

a guint number of events in the queue

pub fn upstream_events_received(&self) -> u32[src]

The total number of GstEvents that has arrived on the crate::Harness srcpad This number includes events handled by the harness as well as events that have already been pulled out.

MT safe.

Returns

a guint number of events received

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

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

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

pub fn sink_harness(&self) -> Option<Ref<'_>>[src]

pub fn src_harness(&self) -> Option<Ref<'_>>[src]

Trait Implementations

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

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

Formats the value using the given formatter. Read more

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

type Target = Harness

The resulting type after dereferencing.

fn deref(&self) -> &Harness[src]

Dereferences the value.

Auto Trait Implementations

impl<'a> RefUnwindSafe for Ref<'a>

impl<'a> Send for Ref<'a>

impl<'a> Sync for Ref<'a>

impl<'a> Unpin for Ref<'a>

impl<'a> UnwindSafe for Ref<'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.