pub trait DevtoolsHost {
// Required methods
fn info(&self) -> DevtoolsInfo;
fn set_enabled(&self, on: bool) -> Result<bool, String>;
fn open(&self) -> Result<bool, String>;
}Required Methods§
fn info(&self) -> DevtoolsInfo
Sourcefn set_enabled(&self, on: bool) -> Result<bool, String>
fn set_enabled(&self, on: bool) -> Result<bool, String>
The state afterwards, or why the change was refused.
fn open(&self) -> Result<bool, String>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".