pub trait ScriptDocumentBackend: Document + Sized {
// Required methods
fn from_html(html: Arc<str>, config: DocumentConfig) -> Result<Self, String>;
fn execute_scripts(&mut self) -> Result<(), String>;
}Expand description
A document backend selected before bootstrap or host installation.
Required Methods§
fn from_html(html: Arc<str>, config: DocumentConfig) -> Result<Self, String>
fn execute_scripts(&mut self) -> Result<(), String>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".