Trait INetFwProfile_Impl
pub trait INetFwProfile_Impl: IDispatch_Impl {
Show 14 methods
// Required methods
fn Type(&self) -> Result<NET_FW_PROFILE_TYPE>;
fn FirewallEnabled(&self) -> Result<VARIANT_BOOL>;
fn SetFirewallEnabled(&self, enabled: VARIANT_BOOL) -> Result<()>;
fn ExceptionsNotAllowed(&self) -> Result<VARIANT_BOOL>;
fn SetExceptionsNotAllowed(&self, notallowed: VARIANT_BOOL) -> Result<()>;
fn NotificationsDisabled(&self) -> Result<VARIANT_BOOL>;
fn SetNotificationsDisabled(&self, disabled: VARIANT_BOOL) -> Result<()>;
fn UnicastResponsesToMulticastBroadcastDisabled(
&self,
) -> Result<VARIANT_BOOL>;
fn SetUnicastResponsesToMulticastBroadcastDisabled(
&self,
disabled: VARIANT_BOOL,
) -> Result<()>;
fn RemoteAdminSettings(&self) -> Result<INetFwRemoteAdminSettings>;
fn IcmpSettings(&self) -> Result<INetFwIcmpSettings>;
fn GloballyOpenPorts(&self) -> Result<INetFwOpenPorts>;
fn Services(&self) -> Result<INetFwServices>;
fn AuthorizedApplications(&self) -> Result<INetFwAuthorizedApplications>;
}
Required Methods§
fn Type(&self) -> Result<NET_FW_PROFILE_TYPE>
fn FirewallEnabled(&self) -> Result<VARIANT_BOOL>
fn SetFirewallEnabled(&self, enabled: VARIANT_BOOL) -> Result<()>
fn ExceptionsNotAllowed(&self) -> Result<VARIANT_BOOL>
fn SetExceptionsNotAllowed(&self, notallowed: VARIANT_BOOL) -> Result<()>
fn NotificationsDisabled(&self) -> Result<VARIANT_BOOL>
fn SetNotificationsDisabled(&self, disabled: VARIANT_BOOL) -> Result<()>
fn UnicastResponsesToMulticastBroadcastDisabled(&self) -> Result<VARIANT_BOOL>
fn SetUnicastResponsesToMulticastBroadcastDisabled( &self, disabled: VARIANT_BOOL, ) -> Result<()>
fn RemoteAdminSettings(&self) -> Result<INetFwRemoteAdminSettings>
fn IcmpSettings(&self) -> Result<INetFwIcmpSettings>
fn GloballyOpenPorts(&self) -> Result<INetFwOpenPorts>
fn Services(&self) -> Result<INetFwServices>
fn AuthorizedApplications(&self) -> Result<INetFwAuthorizedApplications>
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.