#[non_exhaustive]
pub struct Explanation { /* private fields */ }
Expand description

Describes an explanation code for an unreachable path. For more information, see Reachability Analyzer explanation codes.

Implementations§

source§

impl Explanation

source

pub fn acl(&self) -> Option<&AnalysisComponent>

The network ACL.

source

pub fn acl_rule(&self) -> Option<&AnalysisAclRule>

The network ACL rule.

source

pub fn address(&self) -> Option<&str>

The IPv4 address, in CIDR notation.

source

pub fn addresses(&self) -> Option<&[String]>

The IPv4 addresses, in CIDR notation.

source

pub fn attached_to(&self) -> Option<&AnalysisComponent>

The resource to which the component is attached.

source

pub fn availability_zones(&self) -> Option<&[String]>

The Availability Zones.

source

pub fn cidrs(&self) -> Option<&[String]>

The CIDR ranges.

source

pub fn component(&self) -> Option<&AnalysisComponent>

The component.

source

pub fn customer_gateway(&self) -> Option<&AnalysisComponent>

The customer gateway.

source

pub fn destination(&self) -> Option<&AnalysisComponent>

The destination.

source

pub fn destination_vpc(&self) -> Option<&AnalysisComponent>

The destination VPC.

source

pub fn direction(&self) -> Option<&str>

The direction. The following are the possible values:

  • egress

  • ingress

source

pub fn explanation_code(&self) -> Option<&str>

The explanation code.

source

pub fn ingress_route_table(&self) -> Option<&AnalysisComponent>

The route table.

source

pub fn internet_gateway(&self) -> Option<&AnalysisComponent>

The internet gateway.

source

pub fn load_balancer_arn(&self) -> Option<&str>

The Amazon Resource Name (ARN) of the load balancer.

source

pub fn classic_load_balancer_listener( &self ) -> Option<&AnalysisLoadBalancerListener>

The listener for a Classic Load Balancer.

source

pub fn load_balancer_listener_port(&self) -> Option<i32>

The listener port of the load balancer.

source

pub fn load_balancer_target(&self) -> Option<&AnalysisLoadBalancerTarget>

The target.

source

pub fn load_balancer_target_group(&self) -> Option<&AnalysisComponent>

The target group.

source

pub fn load_balancer_target_groups(&self) -> Option<&[AnalysisComponent]>

The target groups.

source

pub fn load_balancer_target_port(&self) -> Option<i32>

The target port.

source

pub fn elastic_load_balancer_listener(&self) -> Option<&AnalysisComponent>

The load balancer listener.

source

pub fn missing_component(&self) -> Option<&str>

The missing component.

source

pub fn nat_gateway(&self) -> Option<&AnalysisComponent>

The NAT gateway.

source

pub fn network_interface(&self) -> Option<&AnalysisComponent>

The network interface.

source

pub fn packet_field(&self) -> Option<&str>

The packet field.

source

pub fn vpc_peering_connection(&self) -> Option<&AnalysisComponent>

The VPC peering connection.

source

pub fn port(&self) -> Option<i32>

The port.

source

pub fn port_ranges(&self) -> Option<&[PortRange]>

The port ranges.

source

pub fn prefix_list(&self) -> Option<&AnalysisComponent>

The prefix list.

source

pub fn protocols(&self) -> Option<&[String]>

The protocols.

source

pub fn route_table_route(&self) -> Option<&AnalysisRouteTableRoute>

The route table route.

source

pub fn route_table(&self) -> Option<&AnalysisComponent>

The route table.

source

pub fn security_group(&self) -> Option<&AnalysisComponent>

The security group.

source

pub fn security_group_rule(&self) -> Option<&AnalysisSecurityGroupRule>

The security group rule.

source

pub fn security_groups(&self) -> Option<&[AnalysisComponent]>

The security groups.

source

pub fn source_vpc(&self) -> Option<&AnalysisComponent>

The source VPC.

source

pub fn state(&self) -> Option<&str>

The state.

source

pub fn subnet(&self) -> Option<&AnalysisComponent>

The subnet.

source

pub fn subnet_route_table(&self) -> Option<&AnalysisComponent>

The route table for the subnet.

source

pub fn vpc(&self) -> Option<&AnalysisComponent>

The component VPC.

source

pub fn vpc_endpoint(&self) -> Option<&AnalysisComponent>

The VPC endpoint.

source

pub fn vpn_connection(&self) -> Option<&AnalysisComponent>

The VPN connection.

source

pub fn vpn_gateway(&self) -> Option<&AnalysisComponent>

The VPN gateway.

source

pub fn transit_gateway(&self) -> Option<&AnalysisComponent>

The transit gateway.

source

pub fn transit_gateway_route_table(&self) -> Option<&AnalysisComponent>

The transit gateway route table.

source

pub fn transit_gateway_route_table_route( &self ) -> Option<&TransitGatewayRouteTableRoute>

The transit gateway route table route.

source

pub fn transit_gateway_attachment(&self) -> Option<&AnalysisComponent>

The transit gateway attachment.

source

pub fn component_account(&self) -> Option<&str>

The Amazon Web Services account for the component.

source

pub fn component_region(&self) -> Option<&str>

The Region for the component.

source

pub fn firewall_stateless_rule(&self) -> Option<&FirewallStatelessRule>

The Network Firewall stateless rule.

source

pub fn firewall_stateful_rule(&self) -> Option<&FirewallStatefulRule>

The Network Firewall stateful rule.

source§

impl Explanation

source

pub fn builder() -> ExplanationBuilder

Creates a new builder-style object to manufacture Explanation.

Trait Implementations§

source§

impl Clone for Explanation

source§

fn clone(&self) -> Explanation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Explanation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<Explanation> for Explanation

source§

fn eq(&self, other: &Explanation) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for Explanation

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more