pub struct ReactProviderConfig {
pub label: String,
pub consumer_version: Option<WasmAbiVersion>,
pub abort_mode: WasmAbortPropagationMode,
pub strict_mode_resilient: bool,
pub devtools_diagnostics: bool,
}Expand description
Configuration for a React runtime provider.
Passed to the <RuntimeProvider> component as props. Controls
initialization behavior, cancellation policy, and diagnostics.
Fields§
§label: StringHuman-readable label for the provider (diagnostics only).
consumer_version: Option<WasmAbiVersion>ABI version to negotiate with the WASM module.
abort_mode: WasmAbortPropagationModeAbort propagation mode for cancel/abort bridging.
strict_mode_resilient: boolWhether to enable StrictMode remount resilience.
When true, the provider tolerates mount → unmount → mount sequences by cleanly disposing the first instance before reinitializing.
devtools_diagnostics: boolWhether to collect diagnostic events for the React DevTools.
Trait Implementations§
Source§impl Clone for ReactProviderConfig
impl Clone for ReactProviderConfig
Source§fn clone(&self) -> ReactProviderConfig
fn clone(&self) -> ReactProviderConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReactProviderConfig
impl Debug for ReactProviderConfig
Source§impl Default for ReactProviderConfig
impl Default for ReactProviderConfig
Source§impl<'de> Deserialize<'de> for ReactProviderConfig
impl<'de> Deserialize<'de> for ReactProviderConfig
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
Source§impl PartialEq for ReactProviderConfig
impl PartialEq for ReactProviderConfig
Source§impl Serialize for ReactProviderConfig
impl Serialize for ReactProviderConfig
impl Eq for ReactProviderConfig
impl StructuralPartialEq for ReactProviderConfig
Auto Trait Implementations§
impl Freeze for ReactProviderConfig
impl RefUnwindSafe for ReactProviderConfig
impl Send for ReactProviderConfig
impl Sync for ReactProviderConfig
impl Unpin for ReactProviderConfig
impl UnsafeUnpin for ReactProviderConfig
impl UnwindSafe for ReactProviderConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).