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