Enum etherparse::packet_filter::TransportFilter [−][src]
pub enum TransportFilter {
Udp {
source_port: Option<u16>,
destination_port: Option<u16>,
},
Tcp {
source_port: Option<u16>,
destination_port: Option<u16>,
},
}
Variants
Udp
Tcp
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TransportFilter
impl Send for TransportFilter
impl Sync for TransportFilter
impl Unpin for TransportFilter
impl UnwindSafe for TransportFilter
Blanket Implementations
Mutably borrows from an owned value. Read more