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