gstreamer::subclass::prelude

Trait BufferPoolImpl

Source
pub trait BufferPoolImpl:
    BufferPoolImplExt
    + GstObjectImpl
    + Send
    + Sync {
    // Provided methods
    fn acquire_buffer(
        &self,
        params: Option<&BufferPoolAcquireParams>,
    ) -> Result<Buffer, FlowError> { ... }
    fn alloc_buffer(
        &self,
        params: Option<&BufferPoolAcquireParams>,
    ) -> Result<Buffer, FlowError> { ... }
    fn flush_start(&self) { ... }
    fn flush_stop(&self) { ... }
    fn free_buffer(&self, buffer: Buffer) { ... }
    fn release_buffer(&self, buffer: Buffer) { ... }
    fn reset_buffer(&self, buffer: &mut BufferRef) { ... }
    fn start(&self) -> bool { ... }
    fn stop(&self) -> bool { ... }
    fn options() -> &'static [&'static str] { ... }
    fn set_config(&self, config: &mut BufferPoolConfigRef) -> bool { ... }
}

Provided Methods§

Source

fn acquire_buffer( &self, params: Option<&BufferPoolAcquireParams>, ) -> Result<Buffer, FlowError>

Source

fn alloc_buffer( &self, params: Option<&BufferPoolAcquireParams>, ) -> Result<Buffer, FlowError>

Source

fn flush_start(&self)

Source

fn flush_stop(&self)

Source

fn free_buffer(&self, buffer: Buffer)

Source

fn release_buffer(&self, buffer: Buffer)

Source

fn reset_buffer(&self, buffer: &mut BufferRef)

Source

fn start(&self) -> bool

Source

fn stop(&self) -> bool

Source

fn options() -> &'static [&'static str]

Source

fn set_config(&self, config: &mut BufferPoolConfigRef) -> bool

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§