Struct aws_sdk_networkfirewall::model::TcpFlagField
source · #[non_exhaustive]pub struct TcpFlagField { /* private fields */ }
Expand description
TCP flags and masks to inspect packets for, used in stateless rules MatchAttributes
settings.
Implementations§
source§impl TcpFlagField
impl TcpFlagField
sourcepub fn flags(&self) -> Option<&[TcpFlag]>
pub fn flags(&self) -> Option<&[TcpFlag]>
Used in conjunction with the Masks
setting to define the flags that must be set and flags that must not be set in order for the packet to match. This setting can only specify values that are also specified in the Masks
setting.
For the flags that are specified in the masks setting, the following must be true for the packet to match:
-
The ones that are set in this flags setting must be set in the packet.
-
The ones that are not set in this flags setting must also not be set in the packet.
source§impl TcpFlagField
impl TcpFlagField
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TcpFlagField
.
Trait Implementations§
source§impl Clone for TcpFlagField
impl Clone for TcpFlagField
source§fn clone(&self) -> TcpFlagField
fn clone(&self) -> TcpFlagField
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 TcpFlagField
impl Debug for TcpFlagField
source§impl PartialEq<TcpFlagField> for TcpFlagField
impl PartialEq<TcpFlagField> for TcpFlagField
source§fn eq(&self, other: &TcpFlagField) -> bool
fn eq(&self, other: &TcpFlagField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.