You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to #3065, I tried to implement IMFAsyncCallback, but obviously, an error occurred and I don't know where the problem is.
error[E0405]: cannot find trait `IMFAsyncCallback_Impl` in this scope
--> mft\src\lib.rs:8:6
|
8 | impl IMFAsyncCallback_Impl for VideoProcessorAsyncCallback_Impl {
| ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
You're missing a use declaration for the IMFAsyncCallback_Impl type (i.e. use windows::Win32::Media::MediaFoundation::IMFAsyncCallback_Impl). Fixing that gets you to other errors related to generics, etc.
You're missing a use declaration for the IMFAsyncCallback_Impl type (i.e. use windows::Win32::Media::MediaFoundation::IMFAsyncCallback_Impl). Fixing that gets you to other errors related to generics, etc.
Thank you. I initially thought that the trait of xxx_Impl was automatically generated by implement macro, which led to some misunderstandings for me.
Summary
According to #3065, I tried to implement
IMFAsyncCallback
, but obviously, an error occurred and I don't know where the problem is.Crate manifest
Crate code
The text was updated successfully, but these errors were encountered: