#[repr(C)]pub struct WINDIVERT_DATA_NETWORK {
pub interface_id: u32,
pub subinterface_id: u32,
}Expand description
Represents the associated data recieved using WinDivertLayer::Network
Fields§
§interface_id: u32Interface index on whick the packet arrived (for inbound packets) or will be sent (for outbound packets).
subinterface_id: u32The sub-interface index for interface_id
Trait Implementations§
Source§impl Clone for WINDIVERT_DATA_NETWORK
impl Clone for WINDIVERT_DATA_NETWORK
Source§fn clone(&self) -> WINDIVERT_DATA_NETWORK
fn clone(&self) -> WINDIVERT_DATA_NETWORK
Returns a duplicate 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 moreSource§impl Debug for WINDIVERT_DATA_NETWORK
impl Debug for WINDIVERT_DATA_NETWORK
Source§impl Default for WINDIVERT_DATA_NETWORK
impl Default for WINDIVERT_DATA_NETWORK
Source§fn default() -> WINDIVERT_DATA_NETWORK
fn default() -> WINDIVERT_DATA_NETWORK
Returns the “default value” for a type. Read more
impl Copy for WINDIVERT_DATA_NETWORK
Auto Trait Implementations§
impl Freeze for WINDIVERT_DATA_NETWORK
impl RefUnwindSafe for WINDIVERT_DATA_NETWORK
impl Send for WINDIVERT_DATA_NETWORK
impl Sync for WINDIVERT_DATA_NETWORK
impl Unpin for WINDIVERT_DATA_NETWORK
impl UnwindSafe for WINDIVERT_DATA_NETWORK
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