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