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