Trait IEventPublisher_Impl
pub trait IEventPublisher_Impl: IDispatch_Impl {
Show 14 methods
// Required methods
fn PublisherID(&self) -> Result<BSTR>;
fn SetPublisherID(&self, bstrpublisherid: &BSTR) -> Result<()>;
fn PublisherName(&self) -> Result<BSTR>;
fn SetPublisherName(&self, bstrpublishername: &BSTR) -> Result<()>;
fn PublisherType(&self) -> Result<BSTR>;
fn SetPublisherType(&self, bstrpublishertype: &BSTR) -> Result<()>;
fn OwnerSID(&self) -> Result<BSTR>;
fn SetOwnerSID(&self, bstrownersid: &BSTR) -> Result<()>;
fn Description(&self) -> Result<BSTR>;
fn SetDescription(&self, bstrdescription: &BSTR) -> Result<()>;
fn GetDefaultProperty(&self, bstrpropertyname: &BSTR) -> Result<VARIANT>;
fn PutDefaultProperty(
&self,
bstrpropertyname: &BSTR,
propertyvalue: *const VARIANT,
) -> Result<()>;
fn RemoveDefaultProperty(&self, bstrpropertyname: &BSTR) -> Result<()>;
fn GetDefaultPropertyCollection(&self) -> Result<IEventObjectCollection>;
}
Required Methods§
fn PublisherID(&self) -> Result<BSTR>
fn SetPublisherID(&self, bstrpublisherid: &BSTR) -> Result<()>
fn PublisherName(&self) -> Result<BSTR>
fn SetPublisherName(&self, bstrpublishername: &BSTR) -> Result<()>
fn PublisherType(&self) -> Result<BSTR>
fn SetPublisherType(&self, bstrpublishertype: &BSTR) -> Result<()>
fn OwnerSID(&self) -> Result<BSTR>
fn SetOwnerSID(&self, bstrownersid: &BSTR) -> Result<()>
fn Description(&self) -> Result<BSTR>
fn SetDescription(&self, bstrdescription: &BSTR) -> Result<()>
fn GetDefaultProperty(&self, bstrpropertyname: &BSTR) -> Result<VARIANT>
fn PutDefaultProperty( &self, bstrpropertyname: &BSTR, propertyvalue: *const VARIANT, ) -> Result<()>
fn RemoveDefaultProperty(&self, bstrpropertyname: &BSTR) -> Result<()>
fn GetDefaultPropertyCollection(&self) -> Result<IEventObjectCollection>
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.