#[non_exhaustive]pub struct LocalOptions {
_phantom: PhantomData<*mut u8>,
}Expand description
LocalRuntime-only config options
Currently, there are no such options, but in the future, things like !Send + !Sync hooks may
be added.
Use LocalOptions::default() to create the default set of options. This type is used with
Builder::build_local.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work._phantom: PhantomData<*mut u8>Marker used to make this !Send and !Sync.
Trait Implementations§
Source§impl Debug for LocalOptions
impl Debug for LocalOptions
Source§impl Default for LocalOptions
impl Default for LocalOptions
Source§fn default() -> LocalOptions
fn default() -> LocalOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LocalOptions
impl RefUnwindSafe for LocalOptions
impl !Send for LocalOptions
impl !Sync for LocalOptions
impl Unpin for LocalOptions
impl UnwindSafe for LocalOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more