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