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
sourceimpl 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.
sourceimpl TcpFlagField
impl TcpFlagField
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TcpFlagField
.
Trait Implementations
sourceimpl Clone for TcpFlagField
impl Clone for TcpFlagField
sourcefn clone(&self) -> TcpFlagField
fn clone(&self) -> TcpFlagField
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TcpFlagField
impl Debug for TcpFlagField
sourceimpl PartialEq<TcpFlagField> for TcpFlagField
impl PartialEq<TcpFlagField> for TcpFlagField
sourcefn eq(&self, other: &TcpFlagField) -> bool
fn eq(&self, other: &TcpFlagField) -> bool
impl StructuralPartialEq for TcpFlagField
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more