Skip to main content

DevtoolsHost

Trait DevtoolsHost 

Source
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§

Source

fn info(&self) -> DevtoolsInfo

Source

fn set_enabled(&self, on: bool) -> Result<bool, String>

The state afterwards, or why the change was refused.

Source

fn open(&self) -> Result<bool, String>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§