Enum windivert::WinDivertParsedSlice[][src]

pub enum WinDivertParsedSlice<'a> {
    Network {
        addr: WinDivertNetworkData<'a>,
        data: &'a Vec<u8>,
    },
    Flow {
        addr: WinDivertFlowData<'a>,
    },
    Socket {
        addr: WinDivertSocketData<'a>,
    },
    Reflect {
        addr: WinDivertReflectData<'a>,
        filter: &'a Vec<u8>,
    },
}
Expand description

Parsed slice

Variants

Network

Fields

addr: WinDivertNetworkData<'a>

WinDivert data associated with the packet.

data: &'a Vec<u8>

Raw captured data.

Packet type returned by handles using WinDivertLayer::Network.

Flow

Fields

addr: WinDivertFlowData<'a>

WinDivert data associated with the packet.

Packet type returned by handles using WinDivertLayer::Flow.

Socket

Fields

addr: WinDivertSocketData<'a>

WinDivert data associated with the packet.

Packet type returned by handles using WinDivertLayer::Socket.

Reflect

Fields

addr: WinDivertReflectData<'a>

WinDivert data associated with the packet.

filter: &'a Vec<u8>

Object string representation of the filter used to open the handle.

Packet type returned by handles using WinDivertLayer::Reflect.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.