pub trait IntoMountError {
// Required method
fn into_mount_error(self) -> JsValue;
}Expand description
Convert a component construction error at the browser mounting boundary.
Implement this for a custom portable error when enabling browser rendering.
There is deliberately no blanket Display implementation: JavaScript values
retain their original identity, and applications choose how to represent a
native error to the browser.
Required Methods§
fn into_mount_error(self) -> JsValue
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".