Struct deno_runtime::inspector_server::InspectorServer
source · [−]pub struct InspectorServer {
pub host: SocketAddr,
/* private fields */
}
Expand description
Websocket server that is used to proxy connections from devtools to the inspector.
Fields
host: SocketAddr
Implementations
sourceimpl InspectorServer
impl InspectorServer
pub fn new(host: SocketAddr, name: String) -> Self
pub fn register_inspector(
&self,
module_url: String,
js_runtime: &mut JsRuntime,
should_break_on_first_statement: bool
)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for InspectorServer
impl Send for InspectorServer
impl Sync for InspectorServer
impl Unpin for InspectorServer
impl !UnwindSafe for InspectorServer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more