windows::Win32::Media::MediaFoundation

Trait IMFSaveJob_Impl

pub trait IMFSaveJob_Impl: IUnknownImpl {
    // Required methods
    fn BeginSave(
        &self,
        pstream: Ref<'_, IMFByteStream>,
        pcallback: Ref<'_, IMFAsyncCallback>,
        pstate: Ref<'_, IUnknown>,
    ) -> Result<()>;
    fn EndSave(&self, presult: Ref<'_, IMFAsyncResult>) -> Result<()>;
    fn CancelSave(&self) -> Result<()>;
    fn GetProgress(&self) -> Result<u32>;
}

Required Methods§

fn BeginSave( &self, pstream: Ref<'_, IMFByteStream>, pcallback: Ref<'_, IMFAsyncCallback>, pstate: Ref<'_, IUnknown>, ) -> Result<()>

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

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

fn GetProgress(&self) -> Result<u32>

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§