Enum parse_layer7::Layer7Info
source · pub enum Layer7Info {
DnsPacket(DnsPacket),
TlsPacket(TlsPacket),
DhcpPacket(DhcpPacket),
HttpRequest(HttpRequest),
ModbusPacket(ModbusPacket),
NtpPacket(NtpPacket),
BitcoinPacket(BitcoinPacket),
None,
}Expand description
Layer7Info represents the possible layer 7 information that can be parsed.
Variants§
DnsPacket(DnsPacket)
Contains parsed DNS packet information.
TlsPacket(TlsPacket)
Contains parsed TLS packet information.
DhcpPacket(DhcpPacket)
Contains parsed DHCP packet information.
HttpRequest(HttpRequest)
Contains parsed HTTP request information.
ModbusPacket(ModbusPacket)
Contains parsed Modbus packet information.
NtpPacket(NtpPacket)
Contains parsed ntp packet informations.
BitcoinPacket(BitcoinPacket)
Contains parsed Bitcoin packet information.
None
Represents absence of layer 7 information.
Trait Implementations§
source§impl Debug for Layer7Info
impl Debug for Layer7Info
Auto Trait Implementations§
impl Freeze for Layer7Info
impl RefUnwindSafe for Layer7Info
impl Send for Layer7Info
impl Sync for Layer7Info
impl Unpin for Layer7Info
impl UnwindSafe for Layer7Info
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