Struct windivert_sys::address::WINDIVERT_ADDRESS [−][src]
Fields
Timestamp: i64
Timestamp indicating when the event occurred.
union_field: WINDIVERT_ADDRESS_UNION_FIELD
Union of the different data types associated with the possible layer values.
Implementations
impl WINDIVERT_ADDRESS
[src]
pub fn Layer(&self) -> WinDivertLayer
[src]
Getter for the handle layer
pub fn set_Layer(&mut self, val: WinDivertLayer)
[src]
Setter for the handle layer
pub fn Event(&self) -> WinDivertEvent
[src]
Getter for the handle event
pub fn set_Event(&mut self, val: u32)
[src]
Setter for the handle event
pub fn Sniffed(&self) -> bool
[src]
Set to true if the packet was sniffed (not blocked).
pub fn set_Sniffed(&mut self, val: bool)
[src]
Sniffed flag setter.
pub fn Outbound(&self) -> bool
[src]
Set to true for outbound packet events.
pub fn set_Outbound(&mut self, val: bool)
[src]
Outbound flag setter.
pub fn Loopback(&self) -> bool
[src]
Set to true for loopback packets.
pub fn set_Loopback(&mut self, val: bool)
[src]
Loopback flag setter.
pub fn Impostor(&self) -> bool
[src]
Set to true for "impostor" packets.
pub fn set_Impostor(&mut self, val: bool)
[src]
Impostor flag setter.
pub fn IPv6(&self) -> bool
[src]
Set to true for IPv6 packets.
pub fn set_IPv6(&mut self, val: bool)
[src]
IPv6 flag setter.
pub fn IPChecksum(&self) -> bool
[src]
Set to true if the IPv4 checksum is valid.
pub fn set_IPChecksum(&mut self, val: bool)
[src]
IPv4 checksum flag setter.
pub fn TCPChecksum(&self) -> bool
[src]
Set to true if the TCP checksum is valid.
pub fn set_TCPChecksum(&mut self, val: bool)
[src]
TCP checksum flag setter.
pub fn UDPChecksum(&self) -> bool
[src]
Set to true if the UDP checksum is valid.
pub fn set_UDPChecksum(&mut self, val: bool)
[src]
UDP checksum flag setter.
Trait Implementations
impl Clone for WINDIVERT_ADDRESS
[src]
fn clone(&self) -> WINDIVERT_ADDRESS
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for WINDIVERT_ADDRESS
[src]
impl Default for WINDIVERT_ADDRESS
[src]
Auto Trait Implementations
impl RefUnwindSafe for WINDIVERT_ADDRESS
[src]
impl Send for WINDIVERT_ADDRESS
[src]
impl Sync for WINDIVERT_ADDRESS
[src]
impl Unpin for WINDIVERT_ADDRESS
[src]
impl UnwindSafe for WINDIVERT_ADDRESS
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,