Trait gstreamer::PadExtManual [−][src]
pub trait PadExtManual {
    fn add_probe<F>(&self, mask: PadProbeType, func: F) -> Option<PadProbeId>
    where
        F: Fn(&Pad, &mut PadProbeInfo) -> PadProbeReturn + Send + Sync + 'static;
    fn remove_probe(&self, id: PadProbeId);
    fn chain(&self, buffer: Buffer) -> FlowReturn;
    fn push(&self, buffer: Buffer) -> FlowReturn;
    fn chain_list(&self, list: BufferList) -> FlowReturn;
    fn push_list(&self, list: BufferList) -> FlowReturn;
    fn pull_range(&self, offset: u64, size: u32) -> Result<Buffer, FlowReturn>;
    fn get_range(&self, offset: u64, size: u32) -> Result<Buffer, FlowReturn>;
    fn peer_query(&self, query: &mut QueryRef) -> bool;
    fn query(&self, query: &mut QueryRef) -> bool;
    fn query_default<'a, P: IsA<Object> + 'a, Q: Into<Option<&'a P>>>(
        &self, 
        parent: Q, 
        query: &mut QueryRef
    ) -> bool;
    fn proxy_query_caps(&self, query: &mut QueryRef) -> bool;
    fn proxy_query_accept_caps(&self, query: &mut QueryRef) -> bool;
    fn event_default<'a, P: IsA<Object> + 'a, Q: Into<Option<&'a P>>>(
        &self, 
        parent: Q, 
        event: Event
    ) -> bool;
    fn push_event(&self, event: Event) -> bool;
    fn send_event(&self, event: Event) -> bool;
    fn iterate_internal_links(&self) -> Iterator<Pad>;
    fn iterate_internal_links_default<'a, P: IsA<Object> + 'a, Q: Into<Option<&'a P>>>(
        &self, 
        parent: Q
    ) -> Iterator<Pad>;
    fn stream_lock(&self) -> StreamLock;
    fn set_activate_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>) -> bool + Send + Sync + 'static;
    fn set_activatemode_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>, PadMode, bool) -> bool + Send + Sync + 'static;
    fn set_chain_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>, Buffer) -> FlowReturn + Send + Sync + 'static;
    fn set_chain_list_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>, BufferList) -> FlowReturn + Send + Sync + 'static;
    fn set_event_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>, Event) -> bool + Send + Sync + 'static;
    fn set_event_full_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>, Event) -> FlowReturn + Send + Sync + 'static;
    fn set_getrange_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>, u64, u32) -> Result<Buffer, FlowReturn> + Send + Sync + 'static;
    fn set_iterate_internal_links_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>) -> Iterator<Pad> + Send + Sync + 'static;
    fn set_link_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>, &Pad) -> PadLinkReturn + Send + Sync + 'static;
    fn set_query_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>, &mut QueryRef) -> bool + Send + Sync + 'static;
    fn set_unlink_function<F>(&self, func: F)
    where
        F: Fn(&Pad, &Option<Object>) + Send + Sync + 'static;
    fn start_task<F: FnMut() + Send + 'static>(
        &self, 
        func: F
    ) -> Result<(), BoolError>;
    fn peer_query_convert<V: Into<GenericFormattedValue>, U: SpecificFormattedValue>(
        &self, 
        src_val: V
    ) -> Option<U>;
    fn peer_query_convert_generic<V: Into<GenericFormattedValue>>(
        &self, 
        src_val: V, 
        dest_format: Format
    ) -> Option<GenericFormattedValue>;
    fn peer_query_duration<T: SpecificFormattedValue>(&self) -> Option<T>;
    fn peer_query_duration_generic(
        &self, 
        format: Format
    ) -> Option<GenericFormattedValue>;
    fn peer_query_position<T: SpecificFormattedValue>(&self) -> Option<T>;
    fn peer_query_position_generic(
        &self, 
        format: Format
    ) -> Option<GenericFormattedValue>;
    fn query_convert<V: Into<GenericFormattedValue>, U: SpecificFormattedValue>(
        &self, 
        src_val: V
    ) -> Option<U>;
    fn query_convert_generic<V: Into<GenericFormattedValue>>(
        &self, 
        src_val: V, 
        dest_format: Format
    ) -> Option<GenericFormattedValue>;
    fn query_duration<T: SpecificFormattedValue>(&self) -> Option<T>;
    fn query_duration_generic(
        &self, 
        format: Format
    ) -> Option<GenericFormattedValue>;
    fn query_position<T: SpecificFormattedValue>(&self) -> Option<T>;
    fn query_position_generic(
        &self, 
        format: Format
    ) -> Option<GenericFormattedValue>;
    fn get_mode(&self) -> PadMode;
    fn sticky_events_foreach<F: FnMut(Event) -> Result<Option<Event>, Option<Event>>>(
        &self, 
        func: F
    );
}Required Methods
fn add_probe<F>(&self, mask: PadProbeType, func: F) -> Option<PadProbeId> where
    F: Fn(&Pad, &mut PadProbeInfo) -> PadProbeReturn + Send + Sync + 'static, 
F: Fn(&Pad, &mut PadProbeInfo) -> PadProbeReturn + Send + Sync + 'static,
fn remove_probe(&self, id: PadProbeId)
fn chain(&self, buffer: Buffer) -> FlowReturn
fn push(&self, buffer: Buffer) -> FlowReturn
fn chain_list(&self, list: BufferList) -> FlowReturn
fn push_list(&self, list: BufferList) -> FlowReturn
fn pull_range(&self, offset: u64, size: u32) -> Result<Buffer, FlowReturn>
fn get_range(&self, offset: u64, size: u32) -> Result<Buffer, FlowReturn>
fn peer_query(&self, query: &mut QueryRef) -> bool
fn query(&self, query: &mut QueryRef) -> bool
fn query_default<'a, P: IsA<Object> + 'a, Q: Into<Option<&'a P>>>(
    &self, 
    parent: Q, 
    query: &mut QueryRef
) -> bool
&self,
parent: Q,
query: &mut QueryRef
) -> bool
fn proxy_query_caps(&self, query: &mut QueryRef) -> bool
fn proxy_query_accept_caps(&self, query: &mut QueryRef) -> bool
fn event_default<'a, P: IsA<Object> + 'a, Q: Into<Option<&'a P>>>(
    &self, 
    parent: Q, 
    event: Event
) -> bool
&self,
parent: Q,
event: Event
) -> bool
fn push_event(&self, event: Event) -> bool
fn send_event(&self, event: Event) -> bool
fn iterate_internal_links(&self) -> Iterator<Pad>
fn iterate_internal_links_default<'a, P: IsA<Object> + 'a, Q: Into<Option<&'a P>>>(
    &self, 
    parent: Q
) -> Iterator<Pad>
&self,
parent: Q
) -> Iterator<Pad>
fn stream_lock(&self) -> StreamLock
fn set_activate_function<F>(&self, func: F) where
    F: Fn(&Pad, &Option<Object>) -> bool + Send + Sync + 'static, 
F: Fn(&Pad, &Option<Object>) -> bool + Send + Sync + 'static,
fn set_activatemode_function<F>(&self, func: F) where
    F: Fn(&Pad, &Option<Object>, PadMode, bool) -> bool + Send + Sync + 'static, 
F: Fn(&Pad, &Option<Object>, PadMode, bool) -> bool + Send + Sync + 'static,
fn set_chain_function<F>(&self, func: F) where
    F: Fn(&Pad, &Option<Object>, Buffer) -> FlowReturn + Send + Sync + 'static, 
F: Fn(&Pad, &Option<Object>, Buffer) -> FlowReturn + Send + Sync + 'static,
fn set_chain_list_function<F>(&self, func: F) where
    F: Fn(&Pad, &Option<Object>, BufferList) -> FlowReturn + Send + Sync + 'static, 
F: Fn(&Pad, &Option<Object>, BufferList) -> FlowReturn + Send + Sync + 'static,
fn set_event_function<F>(&self, func: F) where
    F: Fn(&Pad, &Option<Object>, Event) -> bool + Send + Sync + 'static, 
F: Fn(&Pad, &Option<Object>, Event) -> bool + Send + Sync + 'static,
fn set_event_full_function<F>(&self, func: F) where
    F: Fn(&Pad, &Option<Object>, Event) -> FlowReturn + Send + Sync + 'static, 
F: Fn(&Pad, &Option<Object>, Event) -> FlowReturn + Send + Sync + 'static,
fn set_getrange_function<F>(&self, func: F) where
    F: Fn(&Pad, &Option<Object>, u64, u32) -> Result<Buffer, FlowReturn> + Send + Sync + 'static, 
F: Fn(&Pad, &Option<Object>, u64, u32) -> Result<Buffer, FlowReturn> + Send + Sync + 'static,
fn set_iterate_internal_links_function<F>(&self, func: F) where
    F: Fn(&Pad, &Option<Object>) -> Iterator<Pad> + Send + Sync + 'static, 
F: Fn(&Pad, &Option<Object>) -> Iterator<Pad> + Send + Sync + 'static,
fn set_link_function<F>(&self, func: F) where
    F: Fn(&Pad, &Option<Object>, &Pad) -> PadLinkReturn + Send + Sync + 'static, 
F: Fn(&Pad, &Option<Object>, &Pad) -> PadLinkReturn + Send + Sync + 'static,
fn set_query_function<F>(&self, func: F) where
    F: Fn(&Pad, &Option<Object>, &mut QueryRef) -> bool + Send + Sync + 'static, 
F: Fn(&Pad, &Option<Object>, &mut QueryRef) -> bool + Send + Sync + 'static,
fn set_unlink_function<F>(&self, func: F) where
    F: Fn(&Pad, &Option<Object>) + Send + Sync + 'static, 
F: Fn(&Pad, &Option<Object>) + Send + Sync + 'static,
fn start_task<F: FnMut() + Send + 'static>(
    &self, 
    func: F
) -> Result<(), BoolError>
&self,
func: F
) -> Result<(), BoolError>
fn peer_query_convert<V: Into<GenericFormattedValue>, U: SpecificFormattedValue>(
    &self, 
    src_val: V
) -> Option<U>
&self,
src_val: V
) -> Option<U>
fn peer_query_convert_generic<V: Into<GenericFormattedValue>>(
    &self, 
    src_val: V, 
    dest_format: Format
) -> Option<GenericFormattedValue>
&self,
src_val: V,
dest_format: Format
) -> Option<GenericFormattedValue>
fn peer_query_duration<T: SpecificFormattedValue>(&self) -> Option<T>
fn peer_query_duration_generic(
    &self, 
    format: Format
) -> Option<GenericFormattedValue>
&self,
format: Format
) -> Option<GenericFormattedValue>
fn peer_query_position<T: SpecificFormattedValue>(&self) -> Option<T>
fn peer_query_position_generic(
    &self, 
    format: Format
) -> Option<GenericFormattedValue>
&self,
format: Format
) -> Option<GenericFormattedValue>
fn query_convert<V: Into<GenericFormattedValue>, U: SpecificFormattedValue>(
    &self, 
    src_val: V
) -> Option<U>
&self,
src_val: V
) -> Option<U>
fn query_convert_generic<V: Into<GenericFormattedValue>>(
    &self, 
    src_val: V, 
    dest_format: Format
) -> Option<GenericFormattedValue>
&self,
src_val: V,
dest_format: Format
) -> Option<GenericFormattedValue>
fn query_duration<T: SpecificFormattedValue>(&self) -> Option<T>
fn query_duration_generic(
    &self, 
    format: Format
) -> Option<GenericFormattedValue>
&self,
format: Format
) -> Option<GenericFormattedValue>
fn query_position<T: SpecificFormattedValue>(&self) -> Option<T>
fn query_position_generic(
    &self, 
    format: Format
) -> Option<GenericFormattedValue>
&self,
format: Format
) -> Option<GenericFormattedValue>
fn get_mode(&self) -> PadMode
fn sticky_events_foreach<F: FnMut(Event) -> Result<Option<Event>, Option<Event>>>(
    &self, 
    func: F
)
&self,
func: F
)