Trait IComActivityEvents_Impl
pub trait IComActivityEvents_Impl: IUnknownImpl {
// Required methods
fn OnActivityCreate(
&self,
pinfo: *const COMSVCSEVENTINFO,
guidactivity: *const GUID,
) -> Result<()>;
fn OnActivityDestroy(
&self,
pinfo: *const COMSVCSEVENTINFO,
guidactivity: *const GUID,
) -> Result<()>;
fn OnActivityEnter(
&self,
pinfo: *const COMSVCSEVENTINFO,
guidcurrent: *const GUID,
guidentered: *const GUID,
dwthread: u32,
) -> Result<()>;
fn OnActivityTimeout(
&self,
pinfo: *const COMSVCSEVENTINFO,
guidcurrent: *const GUID,
guidentered: *const GUID,
dwthread: u32,
dwtimeout: u32,
) -> Result<()>;
fn OnActivityReenter(
&self,
pinfo: *const COMSVCSEVENTINFO,
guidcurrent: *const GUID,
dwthread: u32,
dwcalldepth: u32,
) -> Result<()>;
fn OnActivityLeave(
&self,
pinfo: *const COMSVCSEVENTINFO,
guidcurrent: *const GUID,
guidleft: *const GUID,
) -> Result<()>;
fn OnActivityLeaveSame(
&self,
pinfo: *const COMSVCSEVENTINFO,
guidcurrent: *const GUID,
dwcalldepth: u32,
) -> Result<()>;
}
Required Methods§
fn OnActivityCreate( &self, pinfo: *const COMSVCSEVENTINFO, guidactivity: *const GUID, ) -> Result<()>
fn OnActivityDestroy( &self, pinfo: *const COMSVCSEVENTINFO, guidactivity: *const GUID, ) -> Result<()>
fn OnActivityEnter( &self, pinfo: *const COMSVCSEVENTINFO, guidcurrent: *const GUID, guidentered: *const GUID, dwthread: u32, ) -> Result<()>
fn OnActivityTimeout( &self, pinfo: *const COMSVCSEVENTINFO, guidcurrent: *const GUID, guidentered: *const GUID, dwthread: u32, dwtimeout: u32, ) -> Result<()>
fn OnActivityReenter( &self, pinfo: *const COMSVCSEVENTINFO, guidcurrent: *const GUID, dwthread: u32, dwcalldepth: u32, ) -> Result<()>
fn OnActivityLeave( &self, pinfo: *const COMSVCSEVENTINFO, guidcurrent: *const GUID, guidleft: *const GUID, ) -> Result<()>
fn OnActivityLeaveSame( &self, pinfo: *const COMSVCSEVENTINFO, guidcurrent: *const GUID, dwcalldepth: u32, ) -> 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.