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