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