Enum windivert_sys::WinDivertEvent
source · #[repr(C)]pub enum WinDivertEvent {
NetworkPacket,
FlowStablished,
FlowDeleted,
SocketBind,
SocketConnect,
SocketListen,
SocketAccept,
SocketClose,
ReflectOpen,
ReflectClose,
}
Expand description
Variants§
NetworkPacket
Network packet.
FlowStablished
Flow established.
FlowDeleted
Flow deleted.
SocketBind
Socket bind.
SocketConnect
Socket connect.
SocketListen
Socket listen.
SocketAccept
Socket accept.
SocketClose
Socket close.
ReflectOpen
WinDivert handle opened.
ReflectClose
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 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 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 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