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