#[repr(C)]pub enum WinDivertEvent {
NetworkPacket = 0,
FlowStablished = 1,
FlowDeleted = 2,
SocketBind = 3,
SocketConnect = 4,
SocketListen = 5,
SocketAccept = 6,
SocketClose = 7,
ReflectOpen = 8,
ReflectClose = 9,
}Expand description
Variants§
NetworkPacket = 0
Network packet.
FlowStablished = 1
Flow established.
FlowDeleted = 2
Flow deleted.
SocketBind = 3
Socket bind.
SocketConnect = 4
Socket connect.
SocketListen = 5
Socket listen.
SocketAccept = 6
Socket accept.
SocketClose = 7
Socket close.
ReflectOpen = 8
WinDivert handle opened.
ReflectClose = 9
WinDivert handle closed.
Trait Implementations§
Source§impl Clone for WinDivertEvent
impl Clone for WinDivertEvent
Source§fn clone(&self) -> WinDivertEvent
fn clone(&self) -> WinDivertEvent
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 WinDivertEvent
impl Debug for WinDivertEvent
Source§impl From<WinDivertEvent> for u32
impl From<WinDivertEvent> for u32
Source§fn from(value: WinDivertEvent) -> Self
fn from(value: WinDivertEvent) -> Self
Converts to this type from the input type.
Source§impl From<WinDivertEvent> for u8
impl From<WinDivertEvent> for u8
Source§fn from(value: WinDivertEvent) -> Self
fn from(value: WinDivertEvent) -> Self
Converts to this type from the input type.
Source§impl TryFrom<u8> for WinDivertEvent
impl TryFrom<u8> for WinDivertEvent
impl Copy for WinDivertEvent
Auto Trait Implementations§
impl Freeze for WinDivertEvent
impl RefUnwindSafe for WinDivertEvent
impl Send for WinDivertEvent
impl Sync for WinDivertEvent
impl Unpin for WinDivertEvent
impl UnwindSafe for WinDivertEvent
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