#[non_exhaustive]pub struct LocalOptions { /* private fields */ }Available on crate feature
rt and tokio_unstable only.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.
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