pub trait dshow_IMediaFilter: ole_IPersist {
// Provided methods
fn GetState(&self, ms_timeout: Option<u32>) -> HrResult<FILTER_STATE> { ... }
fn Pause(&self) -> HrResult<bool> { ... }
fn Run(&self, start: i64) -> HrResult<bool> { ... }
fn Stop(&self) -> HrResult<bool> { ... }
}
Available on crate features
kernel
and dshow
only.Expand description
This trait is enabled with the dshow
feature, and provides methods for
IMediaFilter
.
Prefer importing this trait through the prelude:
use winsafe::prelude::*;
Provided Methods§
Sourcefn GetState(&self, ms_timeout: Option<u32>) -> HrResult<FILTER_STATE>
fn GetState(&self, ms_timeout: Option<u32>) -> HrResult<FILTER_STATE>
IMediaFilter::GetState
method.
Sourcefn Pause(&self) -> HrResult<bool>
fn Pause(&self) -> HrResult<bool>
IMediaFilter::Pause
method.
Sourcefn Stop(&self) -> HrResult<bool>
fn Stop(&self) -> HrResult<bool>
IMediaFilter::Stop
method.
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.