windows::Win32::Media::MediaFoundation

Trait IMFSampleOutputStream_Impl

pub trait IMFSampleOutputStream_Impl: IUnknownImpl {
    // Required methods
    fn BeginWriteSample(
        &self,
        psample: Ref<'_, IMFSample>,
        pcallback: Ref<'_, IMFAsyncCallback>,
        punkstate: Ref<'_, IUnknown>,
    ) -> Result<()>;
    fn EndWriteSample(&self, presult: Ref<'_, IMFAsyncResult>) -> Result<()>;
    fn Close(&self) -> Result<()>;
}

Required Methods§

fn BeginWriteSample( &self, psample: Ref<'_, IMFSample>, pcallback: Ref<'_, IMFAsyncCallback>, punkstate: Ref<'_, IUnknown>, ) -> Result<()>

fn EndWriteSample(&self, presult: Ref<'_, IMFAsyncResult>) -> Result<()>

fn Close(&self) -> Result<()>

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§