Struct v_common_v8::inspector::DenoInspector[][src]

pub struct DenoInspector {
    pub server: Option<Arc<InspectorServer>>,
    pub debugger_url: Option<String>,
    // some fields omitted
}

Fields

server: Option<Arc<InspectorServer>>debugger_url: Option<String>

Implementations

impl DenoInspector[src]

pub fn new(
    js_runtime: &mut JsRuntime,
    server: Option<Arc<InspectorServer>>
) -> Box<Self>
[src]

pub fn wait_for_session_and_break_on_next_statement(&mut self)[src]

This function blocks the thread until at least one inspector client has established a websocket connection and successfully completed the handshake. After that, it instructs V8 to pause at the next statement.

Methods from Deref<Target = V8Inspector>

pub fn connect<T>(
    &mut self,
    context_group_id: i32,
    channel: &mut T,
    state: StringView<'_>
) -> UniqueRef<V8InspectorSession> where
    T: AsChannel
[src]

pub fn context_created(
    &mut self,
    context: Local<'_, Context>,
    context_group_id: i32,
    human_readable_name: StringView<'_>
)
[src]

Note: this method deviates from the C++ API here because it’s a lot of work to bind the V8ContextInfo, which is not used elsewhere.

Trait Implementations

impl Deref for DenoInspector[src]

type Target = V8Inspector

The resulting type after dereferencing.

impl DerefMut for DenoInspector[src]

impl Drop for DenoInspector[src]

impl Future for DenoInspector[src]

DenoInspector implements a Future so that it can poll for new incoming connections and messages from the WebSocket server. The Worker that owns this DenoInspector will call our poll function from Worker::poll().

type Output = ()

The type of value produced on completion.

impl V8InspectorClientImpl for DenoInspector[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsV8InspectorClient for T where
    T: V8InspectorClientImpl
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> FutureExt for T where
    T: Future + ?Sized

impl<T> FutureExt for T where
    T: Future + ?Sized

impl<F> FutureExt for F where
    F: Future + ?Sized

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<F> IntoFuture for F where
    F: Future
[src]

type Output = <F as Future>::Output

🔬 This is a nightly-only experimental API. (into_future)

The output that the future will produce on completion.

type Future = F

🔬 This is a nightly-only experimental API. (into_future)

Which kind of future are we turning this into?

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,