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