Trait IMFMediaKeys2_Impl
pub trait IMFMediaKeys2_Impl: IMFMediaKeys_Impl {
// Required methods
fn CreateSession2(
&self,
esessiontype: MF_MEDIAKEYSESSION_TYPE,
pmfmediakeysessionnotify2: Ref<'_, IMFMediaKeySessionNotify2>,
) -> Result<IMFMediaKeySession2>;
fn SetServerCertificate(
&self,
pbservercertificate: *const u8,
cb: u32,
) -> Result<()>;
fn GetDOMException(&self, systemcode: HRESULT) -> Result<HRESULT>;
}
Required Methods§
fn CreateSession2( &self, esessiontype: MF_MEDIAKEYSESSION_TYPE, pmfmediakeysessionnotify2: Ref<'_, IMFMediaKeySessionNotify2>, ) -> Result<IMFMediaKeySession2>
fn SetServerCertificate( &self, pbservercertificate: *const u8, cb: u32, ) -> Result<()>
fn GetDOMException(&self, systemcode: HRESULT) -> Result<HRESULT>
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.