Struct LocalOptions

#[non_exhaustive]
pub struct LocalOptions { /* private fields */ }

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.

Trait Implementations

impl Debug for LocalOptions

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for LocalOptions

fn default() -> LocalOptions

Auto Trait Implementations

impl !Send for LocalOptions

impl !Sync for LocalOptions

impl Freeze for LocalOptions

impl RefUnwindSafe for LocalOptions

impl Unpin for LocalOptions

impl UnsafeUnpin for LocalOptions

impl UnwindSafe for LocalOptions

Blanket Implementations

impl<T> Any for LocalOptions where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for LocalOptions where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for LocalOptions where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> From<T> for LocalOptions

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for LocalOptions where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for LocalOptions where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for LocalOptions where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>