pub trait BaseSrcImpl: BaseSrcImplExt + ElementImpl {
Show 18 methods fn start(&self, element: &Self::Type) -> Result<(), ErrorMessage> { ... }
fn stop(&self, element: &Self::Type) -> Result<(), ErrorMessage> { ... }
fn is_seekable(&self, element: &Self::Type) -> bool { ... }
fn size(&self, element: &Self::Type) -> Option<u64> { ... }
fn times(
        &self,
        element: &Self::Type,
        buffer: &BufferRef
    ) -> (Option<ClockTime>, Option<ClockTime>) { ... }
fn fill(
        &self,
        element: &Self::Type,
        offset: u64,
        length: u32,
        buffer: &mut BufferRef
    ) -> Result<FlowSuccess, FlowError> { ... }
fn alloc(
        &self,
        element: &Self::Type,
        offset: u64,
        length: u32
    ) -> Result<Buffer, FlowError> { ... }
fn create(
        &self,
        element: &Self::Type,
        offset: u64,
        buffer: Option<&mut BufferRef>,
        length: u32
    ) -> Result<CreateSuccess, FlowError> { ... }
fn do_seek(&self, element: &Self::Type, segment: &mut Segment) -> bool { ... }
fn query(&self, element: &Self::Type, query: &mut QueryRef) -> bool { ... }
fn event(&self, element: &Self::Type, event: &Event) -> bool { ... }
fn caps(&self, element: &Self::Type, filter: Option<&Caps>) -> Option<Caps> { ... }
fn negotiate(&self, element: &Self::Type) -> Result<(), LoggableError> { ... }
fn set_caps(
        &self,
        element: &Self::Type,
        caps: &Caps
    ) -> Result<(), LoggableError> { ... }
fn fixate(&self, element: &Self::Type, caps: Caps) -> Caps { ... }
fn unlock(&self, element: &Self::Type) -> Result<(), ErrorMessage> { ... }
fn unlock_stop(&self, element: &Self::Type) -> Result<(), ErrorMessage> { ... }
fn decide_allocation(
        &self,
        element: &Self::Type,
        query: Allocation<&mut QueryRef>
    ) -> Result<(), LoggableError> { ... }
}

Provided methods

Implementors