Trait IMediaControl_Impl
pub trait IMediaControl_Impl: IDispatch_Impl {
// Required methods
fn Run(&self) -> Result<()>;
fn Pause(&self) -> Result<()>;
fn Stop(&self) -> Result<()>;
fn GetState(&self, mstimeout: i32) -> Result<i32>;
fn RenderFile(&self, strfilename: &BSTR) -> Result<()>;
fn AddSourceFilter(&self, strfilename: &BSTR) -> Result<IDispatch>;
fn FilterCollection(&self) -> Result<IDispatch>;
fn RegFilterCollection(&self) -> Result<IDispatch>;
fn StopWhenReady(&self) -> Result<()>;
}
Required Methods§
fn Run(&self) -> Result<()>
fn Pause(&self) -> Result<()>
fn Stop(&self) -> Result<()>
fn GetState(&self, mstimeout: i32) -> Result<i32>
fn RenderFile(&self, strfilename: &BSTR) -> Result<()>
fn AddSourceFilter(&self, strfilename: &BSTR) -> Result<IDispatch>
fn FilterCollection(&self) -> Result<IDispatch>
fn RegFilterCollection(&self) -> Result<IDispatch>
fn StopWhenReady(&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.