pub struct Runtime {Show 16 fields
pub kind: Kind,
pub enable_io: bool,
pub nevents: usize,
pub enable_time: bool,
pub start_paused: bool,
pub worker_threads: Option<usize>,
pub max_blocking_threads: usize,
pub thread_name: String,
pub thread_stack_size: Option<usize>,
pub keep_alive: Option<u64>,
pub global_queue_interval: Option<u32>,
pub event_interval: u32,
pub local_queue_capacity: usize,
pub unhandled_panic: UnhandledPanic,
pub enable_metrics_poll_time_histogram: bool,
pub disable_lifo_slot: bool,
}Fields§
§kind: Kind§enable_io: bool§nevents: usize§enable_time: bool§start_paused: bool§worker_threads: Option<usize>§max_blocking_threads: usize§thread_name: String§thread_stack_size: Option<usize>§keep_alive: Option<u64>§global_queue_interval: Option<u32>§event_interval: u32§local_queue_capacity: usize§unhandled_panic: UnhandledPanic§enable_metrics_poll_time_histogram: bool§disable_lifo_slot: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Runtime
impl<'de> Deserialize<'de> for Runtime
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Runtime
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnwindSafe for Runtime
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