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