Skip to main content

qubit_executor/hook/
noop_task_hook.rs

1/*******************************************************************************
2 *
3 *    Copyright (c) 2025 - 2026 Haixing Hu.
4 *
5 *    SPDX-License-Identifier: Apache-2.0
6 *
7 *    Licensed under the Apache License, Version 2.0.
8 *
9 ******************************************************************************/
10use crate::hook::TaskHook;
11
12/// Task hook that ignores all events.
13#[derive(Debug, Default, Clone, Copy, PartialEq, Eq)]
14pub struct NoopTaskHook;
15
16impl TaskHook for NoopTaskHook {}