pub struct INetFwServiceRestriction(/* private fields */);
Implementations§
§impl INetFwServiceRestriction
impl INetFwServiceRestriction
pub unsafe fn RestrictService<P0, P1, P2, P3>(
&self,
servicename: P0,
appname: P1,
restrictservice: P2,
servicesidrestricted: P3
) -> Result<()>where
P0: IntoParam<BSTR>,
P1: IntoParam<BSTR>,
P2: IntoParam<VARIANT_BOOL>,
P3: IntoParam<VARIANT_BOOL>,
pub unsafe fn ServiceRestricted<P0, P1>( &self, servicename: P0, appname: P1 ) -> Result<VARIANT_BOOL>
pub unsafe fn Rules(&self) -> Result<INetFwRules>
Trait Implementations§
§impl Clone for INetFwServiceRestriction
impl Clone for INetFwServiceRestriction
§fn clone(&self) -> INetFwServiceRestriction
fn clone(&self) -> INetFwServiceRestriction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for INetFwServiceRestriction
impl Debug for INetFwServiceRestriction
§impl From<&INetFwServiceRestriction> for &IDispatch
impl From<&INetFwServiceRestriction> for &IDispatch
§fn from(value: &INetFwServiceRestriction) -> Self
fn from(value: &INetFwServiceRestriction) -> Self
Converts to this type from the input type.
§impl From<&INetFwServiceRestriction> for &IUnknown
impl From<&INetFwServiceRestriction> for &IUnknown
§fn from(value: &INetFwServiceRestriction) -> Self
fn from(value: &INetFwServiceRestriction) -> Self
Converts to this type from the input type.
§impl From<INetFwServiceRestriction> for IDispatch
impl From<INetFwServiceRestriction> for IDispatch
§fn from(value: INetFwServiceRestriction) -> Self
fn from(value: INetFwServiceRestriction) -> Self
Converts to this type from the input type.
§impl From<INetFwServiceRestriction> for IUnknown
impl From<INetFwServiceRestriction> for IUnknown
§fn from(value: INetFwServiceRestriction) -> Self
fn from(value: INetFwServiceRestriction) -> Self
Converts to this type from the input type.
§impl Interface for INetFwServiceRestriction
impl Interface for INetFwServiceRestriction
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for INetFwServiceRestriction
impl PartialEq for INetFwServiceRestriction
§fn eq(&self, other: &INetFwServiceRestriction) -> bool
fn eq(&self, other: &INetFwServiceRestriction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for INetFwServiceRestriction
impl StructuralPartialEq for INetFwServiceRestriction
Auto Trait Implementations§
impl RefUnwindSafe for INetFwServiceRestriction
impl !Send for INetFwServiceRestriction
impl !Sync for INetFwServiceRestriction
impl Unpin for INetFwServiceRestriction
impl UnwindSafe for INetFwServiceRestriction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more