#[repr(C)]
pub struct INetFwRule_Vtbl {
Show 37 fields pub base__: IDispatch_Vtbl, pub Name: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetName: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT, pub Description: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetDescription: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT, pub ApplicationName: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetApplicationName: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT, pub ServiceName: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetServiceName: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT, pub Protocol: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetProtocol: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub LocalPorts: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetLocalPorts: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT, pub RemotePorts: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetRemotePorts: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT, pub LocalAddresses: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetLocalAddresses: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT, pub RemoteAddresses: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetRemoteAddresses: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT, pub IcmpTypesAndCodes: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetIcmpTypesAndCodes: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT, pub Direction: unsafe extern "system" fn(_: *mut c_void, _: *mut NET_FW_RULE_DIRECTION) -> HRESULT, pub SetDirection: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_RULE_DIRECTION) -> HRESULT, pub Interfaces: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<VARIANT>) -> HRESULT, pub SetInterfaces: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<VARIANT>) -> HRESULT, pub InterfaceTypes: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetInterfaceTypes: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT, pub Enabled: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub SetEnabled: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub Grouping: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetGrouping: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT, pub Profiles: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetProfiles: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub EdgeTraversal: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT, pub SetEdgeTraversal: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT, pub Action: unsafe extern "system" fn(_: *mut c_void, _: *mut NET_FW_ACTION) -> HRESULT, pub SetAction: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_ACTION) -> HRESULT,
}

Fields§

§base__: IDispatch_Vtbl§Name: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetName: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT§Description: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetDescription: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT§ApplicationName: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetApplicationName: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT§ServiceName: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetServiceName: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT§Protocol: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetProtocol: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§LocalPorts: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetLocalPorts: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT§RemotePorts: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetRemotePorts: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT§LocalAddresses: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetLocalAddresses: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT§RemoteAddresses: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetRemoteAddresses: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT§IcmpTypesAndCodes: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetIcmpTypesAndCodes: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT§Direction: unsafe extern "system" fn(_: *mut c_void, _: *mut NET_FW_RULE_DIRECTION) -> HRESULT§SetDirection: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_RULE_DIRECTION) -> HRESULT§Interfaces: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<VARIANT>) -> HRESULT§SetInterfaces: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<VARIANT>) -> HRESULT§InterfaceTypes: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetInterfaceTypes: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT§Enabled: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§SetEnabled: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT§Grouping: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetGrouping: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<BSTR>) -> HRESULT§Profiles: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetProfiles: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§EdgeTraversal: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT§SetEdgeTraversal: unsafe extern "system" fn(_: *mut c_void, _: VARIANT_BOOL) -> HRESULT§Action: unsafe extern "system" fn(_: *mut c_void, _: *mut NET_FW_ACTION) -> HRESULT§SetAction: unsafe extern "system" fn(_: *mut c_void, _: NET_FW_ACTION) -> HRESULT

Implementations§

§

impl INetFwRule_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> INetFwRule_Vtbl
where Identity: INetFwRule_Impl + IUnknownImpl,

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.