gstreamer_base::subclass::base_src

Trait BaseSrcImplExt

Source
pub trait BaseSrcImplExt: BaseSrcImpl {
Show 18 methods // Provided methods fn parent_start(&self) -> Result<(), ErrorMessage> { ... } fn parent_stop(&self) -> Result<(), ErrorMessage> { ... } fn parent_is_seekable(&self) -> bool { ... } fn parent_size(&self) -> Option<u64> { ... } fn parent_times( &self, buffer: &BufferRef, ) -> (Option<ClockTime>, Option<ClockTime>) { ... } fn parent_fill( &self, offset: u64, length: u32, buffer: &mut BufferRef, ) -> Result<FlowSuccess, FlowError> { ... } fn parent_alloc( &self, offset: u64, length: u32, ) -> Result<Buffer, FlowError> { ... } fn parent_create( &self, offset: u64, buffer: Option<&mut BufferRef>, length: u32, ) -> Result<CreateSuccess, FlowError> { ... } fn parent_do_seek(&self, segment: &mut Segment) -> bool { ... } fn parent_query(&self, query: &mut QueryRef) -> bool { ... } fn parent_event(&self, event: &Event) -> bool { ... } fn parent_caps(&self, filter: Option<&Caps>) -> Option<Caps> { ... } fn parent_negotiate(&self) -> Result<(), LoggableError> { ... } fn parent_set_caps(&self, caps: &Caps) -> Result<(), LoggableError> { ... } fn parent_fixate(&self, caps: Caps) -> Caps { ... } fn parent_unlock(&self) -> Result<(), ErrorMessage> { ... } fn parent_unlock_stop(&self) -> Result<(), ErrorMessage> { ... } fn parent_decide_allocation( &self, query: &mut Allocation, ) -> Result<(), LoggableError> { ... }
}

Provided Methods§

Source

fn parent_start(&self) -> Result<(), ErrorMessage>

Source

fn parent_stop(&self) -> Result<(), ErrorMessage>

Source

fn parent_is_seekable(&self) -> bool

Source

fn parent_size(&self) -> Option<u64>

Source

fn parent_times( &self, buffer: &BufferRef, ) -> (Option<ClockTime>, Option<ClockTime>)

Source

fn parent_fill( &self, offset: u64, length: u32, buffer: &mut BufferRef, ) -> Result<FlowSuccess, FlowError>

Source

fn parent_alloc(&self, offset: u64, length: u32) -> Result<Buffer, FlowError>

Source

fn parent_create( &self, offset: u64, buffer: Option<&mut BufferRef>, length: u32, ) -> Result<CreateSuccess, FlowError>

Source

fn parent_do_seek(&self, segment: &mut Segment) -> bool

Source

fn parent_query(&self, query: &mut QueryRef) -> bool

Source

fn parent_event(&self, event: &Event) -> bool

Source

fn parent_caps(&self, filter: Option<&Caps>) -> Option<Caps>

Source

fn parent_negotiate(&self) -> Result<(), LoggableError>

Source

fn parent_set_caps(&self, caps: &Caps) -> Result<(), LoggableError>

Source

fn parent_fixate(&self, caps: Caps) -> Caps

Source

fn parent_unlock(&self) -> Result<(), ErrorMessage>

Source

fn parent_unlock_stop(&self) -> Result<(), ErrorMessage>

Source

fn parent_decide_allocation( &self, query: &mut Allocation, ) -> Result<(), LoggableError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§