/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
//! This module contains the [`DisabledTask`] type
use crate::;
/// A wrapper type that disables the execution of a task.
///
/// This type wraps a task and implements [`OpaqueTask`] in a way that
/// makes [`OpaqueTask::run`] a no-op.
///
/// See [`OpaqueTask::disable`].
;