[−][src]Struct gstreamer_check::harness::RefMut
Methods from Deref<Target = Harness>
pub fn add_element_full<P: IsA<Element>>(
&mut self,
element: &P,
hsrc: Option<&StaticPadTemplate>,
element_sinkpad_name: Option<&str>,
hsink: Option<&StaticPadTemplate>,
element_srcpad_name: Option<&str>
)
[src]
&mut self,
element: &P,
hsrc: Option<&StaticPadTemplate>,
element_sinkpad_name: Option<&str>,
hsink: Option<&StaticPadTemplate>,
element_srcpad_name: Option<&str>
)
pub fn add_element_sink_pad<P: IsA<Pad>>(&mut self, sinkpad: &P)
[src]
pub fn add_element_src_pad<P: IsA<Pad>>(&mut self, srcpad: &P)
[src]
pub fn add_parse(&mut self, launchline: &str)
[src]
pub fn add_probe<F>(
&mut self,
element_name: &str,
pad_name: &str,
mask: PadProbeType,
func: F
) where
F: Fn(&Pad, &mut PadProbeInfo<'_>) -> PadProbeReturn + Send + Sync + 'static,
[src]
&mut self,
element_name: &str,
pad_name: &str,
mask: PadProbeType,
func: F
) where
F: Fn(&Pad, &mut PadProbeInfo<'_>) -> PadProbeReturn + Send + Sync + 'static,
pub fn add_propose_allocation_meta(
&mut self,
api: Type,
params: Option<&StructureRef>
)
[src]
&mut self,
api: Type,
params: Option<&StructureRef>
)
pub fn add_sink(&mut self, sink_element_name: &str)
[src]
pub fn add_sink_harness(&mut self, sink_harness: Harness)
[src]
pub fn add_sink_parse(&mut self, launchline: &str)
[src]
pub fn add_src(&mut self, src_element_name: &str, has_clock_wait: bool)
[src]
pub fn add_src_harness(&mut self, src_harness: Harness, has_clock_wait: bool)
[src]
pub fn add_src_parse(&mut self, launchline: &str, has_clock_wait: bool)
[src]
pub fn buffers_in_queue(&self) -> u32
[src]
pub fn buffers_received(&self) -> u32
[src]
pub fn crank_multiple_clock_waits(
&mut self,
waits: u32
) -> Result<(), BoolError>
[src]
&mut self,
waits: u32
) -> Result<(), BoolError>
pub fn crank_single_clock_wait(&mut self) -> Result<(), BoolError>
[src]
pub fn create_buffer(&mut self, size: usize) -> Result<Buffer, BoolError>
[src]
pub fn dump_to_file<P: AsRef<Path>>(&mut self, filename: P)
[src]
pub fn events_in_queue(&self) -> u32
[src]
pub fn events_received(&self) -> u32
[src]
pub fn find_element(&mut self, element_name: &str) -> Option<Element>
[src]
pub fn get_last_pushed_timestamp(&self) -> ClockTime
[src]
pub fn get_testclock(&self) -> Option<TestClock>
[src]
pub fn play(&mut self)
[src]
pub fn pull(&mut self) -> Result<Buffer, BoolError>
[src]
pub fn pull_event(&mut self) -> Result<Event, BoolError>
[src]
pub fn pull_upstream_event(&mut self) -> Result<Event, BoolError>
[src]
pub fn push(&mut self, buffer: Buffer) -> Result<FlowSuccess, FlowError>
[src]
pub fn push_and_pull(&mut self, buffer: Buffer) -> Result<Buffer, BoolError>
[src]
pub fn push_event(&mut self, event: Event) -> bool
[src]
pub fn push_from_src(&mut self) -> Result<FlowSuccess, FlowError>
[src]
pub fn push_to_sink(&mut self) -> Result<FlowSuccess, FlowError>
[src]
pub fn push_upstream_event(&mut self, event: Event) -> bool
[src]
pub fn query_latency(&self) -> ClockTime
[src]
pub fn set_blocking_push_mode(&mut self)
[src]
pub fn set_caps(&mut self, in_: Caps, out: Caps)
[src]
pub fn set_caps_str(&mut self, in_: &str, out: &str)
[src]
pub fn set_drop_buffers(&mut self, drop_buffers: bool)
[src]
pub fn set_forwarding(&mut self, forwarding: bool)
[src]
pub fn set_sink_caps(&mut self, caps: Caps)
[src]
pub fn set_sink_caps_str(&mut self, str: &str)
[src]
pub fn set_src_caps(&mut self, caps: Caps)
[src]
pub fn set_src_caps_str(&mut self, str: &str)
[src]
pub fn set_time(&mut self, time: ClockTime) -> Result<(), BoolError>
[src]
pub fn set_upstream_latency(&mut self, latency: ClockTime)
[src]
pub fn sink_push_many(&mut self, pushes: u32) -> Result<FlowSuccess, FlowError>
[src]
pub fn src_crank_and_push_many(
&mut self,
cranks: u32,
pushes: u32
) -> Result<FlowSuccess, FlowError>
[src]
&mut self,
cranks: u32,
pushes: u32
) -> Result<FlowSuccess, FlowError>
pub fn src_push_event(&mut self) -> bool
[src]
pub fn take_all_data_as_buffer(&mut self) -> Result<Buffer, BoolError>
[src]
pub fn take_all_data_as_bytes(&mut self) -> Result<Bytes, BoolError>
[src]
pub fn try_pull(&mut self) -> Option<Buffer>
[src]
pub fn try_pull_event(&mut self) -> Option<Event>
[src]
pub fn try_pull_upstream_event(&mut self) -> Option<Event>
[src]
pub fn upstream_events_in_queue(&self) -> u32
[src]
pub fn upstream_events_received(&self) -> u32
[src]
pub fn use_systemclock(&mut self)
[src]
pub fn use_testclock(&mut self)
[src]
pub fn wait_for_clock_id_waits(
&mut self,
waits: u32,
timeout: u32
) -> Result<(), BoolError>
[src]
&mut self,
waits: u32,
timeout: u32
) -> Result<(), BoolError>
pub fn get_element(&self) -> Option<Element>
[src]
pub fn get_sinkpad(&self) -> Option<Pad>
[src]
pub fn get_srcpad(&self) -> Option<Pad>
[src]
pub fn get_sink_harness(&self) -> Option<Ref<'_>>
[src]
pub fn get_src_harness(&self) -> Option<Ref<'_>>
[src]
pub fn get_mut_sink_harness(&mut self) -> Option<RefMut<'_>>
[src]
pub fn get_mut_src_harness(&mut self) -> Option<RefMut<'_>>
[src]
Trait Implementations
impl<'a> Debug for RefMut<'a>
[src]
impl<'a> Deref for RefMut<'a>
[src]
impl<'a> DerefMut for RefMut<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for RefMut<'a>
impl<'a> Send for RefMut<'a>
impl<'a> Sync for RefMut<'a>
impl<'a> Unpin for RefMut<'a>
impl<'a> !UnwindSafe for RefMut<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,