Struct aws_sdk_networkfirewall::model::TcpFlagField
source · [−]#[non_exhaustive]pub struct TcpFlagField {
pub flags: Option<Vec<TcpFlag>>,
pub masks: Option<Vec<TcpFlag>>,
}
Expand description
TCP flags and masks to inspect packets for, used in stateless rules MatchAttributes
settings.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.flags: Option<Vec<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.
masks: Option<Vec<TcpFlag>>
The set of flags to consider in the inspection. To inspect all flags in the valid values list, leave this with no setting.
Implementations
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.
Creates a new builder-style object to manufacture TcpFlagField
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 TcpFlagField
impl Send for TcpFlagField
impl Sync for TcpFlagField
impl Unpin for TcpFlagField
impl UnwindSafe for TcpFlagField
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more