windows::Win32::Media::WindowsMediaFormat

Trait IWMWriterFileSink2_Impl

pub trait IWMWriterFileSink2_Impl: IWMWriterFileSink_Impl {
    // Required methods
    fn Start(&self, cnsstarttime: u64) -> Result<()>;
    fn Stop(&self, cnsstoptime: u64) -> Result<()>;
    fn IsStopped(&self) -> Result<BOOL>;
    fn GetFileDuration(&self) -> Result<u64>;
    fn GetFileSize(&self) -> Result<u64>;
    fn Close(&self) -> Result<()>;
    fn IsClosed(&self) -> Result<BOOL>;
}

Required Methods§

fn Start(&self, cnsstarttime: u64) -> Result<()>

fn Stop(&self, cnsstoptime: u64) -> Result<()>

fn IsStopped(&self) -> Result<BOOL>

fn GetFileDuration(&self) -> Result<u64>

fn GetFileSize(&self) -> Result<u64>

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

fn IsClosed(&self) -> Result<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§