pub trait IComObjectPoolEvents2_Impl: Sized {
// Required methods
fn OnObjPoolCreateObject(
&self,
pinfo: *const COMSVCSEVENTINFO,
guidobject: *const GUID,
dwobjscreated: u32,
oid: u64,
) -> Result<()>;
fn OnObjPoolDestroyObject(
&self,
pinfo: *const COMSVCSEVENTINFO,
guidobject: *const GUID,
dwobjscreated: u32,
oid: u64,
) -> Result<()>;
fn OnObjPoolCreateDecision(
&self,
pinfo: *const COMSVCSEVENTINFO,
dwthreadswaiting: u32,
dwavail: u32,
dwcreated: u32,
dwmin: u32,
dwmax: u32,
) -> Result<()>;
fn OnObjPoolTimeout(
&self,
pinfo: *const COMSVCSEVENTINFO,
guidobject: *const GUID,
guidactivity: *const GUID,
dwtimeout: u32,
) -> Result<()>;
fn OnObjPoolCreatePool(
&self,
pinfo: *const COMSVCSEVENTINFO,
guidobject: *const GUID,
dwmin: u32,
dwmax: u32,
dwtimeout: u32,
) -> Result<()>;
}
Required Methods§
fn OnObjPoolCreateObject( &self, pinfo: *const COMSVCSEVENTINFO, guidobject: *const GUID, dwobjscreated: u32, oid: u64, ) -> Result<()>
fn OnObjPoolDestroyObject( &self, pinfo: *const COMSVCSEVENTINFO, guidobject: *const GUID, dwobjscreated: u32, oid: u64, ) -> Result<()>
fn OnObjPoolCreateDecision( &self, pinfo: *const COMSVCSEVENTINFO, dwthreadswaiting: u32, dwavail: u32, dwcreated: u32, dwmin: u32, dwmax: u32, ) -> Result<()>
fn OnObjPoolTimeout( &self, pinfo: *const COMSVCSEVENTINFO, guidobject: *const GUID, guidactivity: *const GUID, dwtimeout: u32, ) -> Result<()>
fn OnObjPoolCreatePool( &self, pinfo: *const COMSVCSEVENTINFO, guidobject: *const GUID, dwmin: u32, dwmax: u32, dwtimeout: u32, ) -> Result<()>
Object Safety§
This trait is not object safe.