summaryrefslogtreecommitdiff
path: root/vendor/tokio/src/runtime/local_runtime/options.rs
blob: ed25d9ccd445e3bb6f77a164a85f21a84caedbf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
use std::marker::PhantomData;

/// `LocalRuntime`-only config options
///
/// Currently, there are no such options, but in the future, things like `!Send + !Sync` hooks may
/// be added.
#[derive(Default, Debug)]
#[non_exhaustive]
pub struct LocalOptions {
    /// Marker used to make this !Send and !Sync.
    _phantom: PhantomData<*mut u8>,
}