pub fn is_traffic_policy_already_exists(&self) -> bool {
        matches!(
            &self.kind,
            CreateTrafficPolicyErrorKind::TrafficPolicyAlreadyExists(_)
        )
    }
/// Returns `true` if the error kind is `CreateTrafficPolicyErrorKind::TrafficPolicyAlreadyExists`.
Returns `true` if the error kind is `CreateTrafficPolicyErrorKind::TrafficPolicyAlreadyExists`.
Returns ` true ` if the error kind is ` CreateTrafficPolicyErrorKind :: TrafficPolicyAlreadyExists ` .
pub fn is_traffic_policy_already_exists(&self) -> bool {
        matches!(
            &self.kind,
            CreateTrafficPolicyErrorKind::TrafficPolicyAlreadyExists(_)
        )
    }
pub fn is_traffic_policy_already_exists ( & self ) -> bool { matches ! ( self kind CreateTrafficPolicyErrorKind TrafficPolicyAlreadyExists ( ) ) }
Returns `true` if the error kind is `CreateTrafficPolicyErrorKind::TrafficPolicyAlreadyExists`.
Returns ` true ` if the error kind is ` CreateTrafficPolicyErrorKind :: TrafficPolicyAlreadyExists ` .
&self
&self