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