Struct v_common_v8::inspector::DenoInspector [−][src]
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]
js_runtime: &mut JsRuntime,
server: Option<Arc<InspectorServer>>
) -> Box<Self>
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]
&mut self,
context_group_id: i32,
channel: &mut T,
state: StringView<'_>
) -> UniqueRef<V8InspectorSession> where
T: AsChannel,
pub fn context_created(
&mut self,
context: Local<'_, Context>,
context_group_id: i32,
human_readable_name: StringView<'_>
)
[src]
&mut self,
context: Local<'_, Context>,
context_group_id: i32,
human_readable_name: StringView<'_>
)
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.
fn deref(&self) -> &Self::Target
[src]
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.
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<()>
[src]
impl V8InspectorClientImpl for DenoInspector
[src]
fn base(&self) -> &V8InspectorClientBase
[src]
fn base_mut(&mut self) -> &mut V8InspectorClientBase
[src]
fn run_message_loop_on_pause(&mut self, context_group_id: i32)
[src]
fn quit_message_loop_on_pause(&mut self)
[src]
fn run_if_waiting_for_debugger(&mut self, context_group_id: i32)
[src]
pub fn generate_unique_id(&mut self) -> i64
[src]
pub fn console_api_message(
&mut self,
context_group_id: i32,
level: i32,
message: &StringView<'_>,
url: &StringView<'_>,
line_number: u32,
column_number: u32,
stack_trace: &mut V8StackTrace
)
[src]
&mut self,
context_group_id: i32,
level: i32,
message: &StringView<'_>,
url: &StringView<'_>,
line_number: u32,
column_number: u32,
stack_trace: &mut V8StackTrace
)
Auto Trait Implementations
impl !RefUnwindSafe for DenoInspector
[src]
impl !Send for DenoInspector
[src]
impl !Sync for DenoInspector
[src]
impl Unpin for DenoInspector
[src]
impl !UnwindSafe for DenoInspector
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsV8InspectorClient for T where
T: V8InspectorClientImpl,
[src]
T: V8InspectorClientImpl,
pub fn as_client(&self) -> &V8InspectorClient
[src]
pub fn as_client_mut(&mut self) -> &mut V8InspectorClient
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> FutureExt for T where
T: Future + ?Sized,
T: Future + ?Sized,
pub fn map<U, F>(self, f: F) -> Map<Self, F> where
F: FnOnce(Self::Output) -> U,
F: FnOnce(Self::Output) -> U,
pub fn map_into<U>(self) -> MapInto<Self, U> where
Self::Output: Into<U>,
Self::Output: Into<U>,
pub fn then<Fut, F>(self, f: F) -> Then<Self, Fut, F> where
F: FnOnce(Self::Output) -> Fut,
Fut: Future,
F: FnOnce(Self::Output) -> Fut,
Fut: Future,
pub fn left_future<B>(self) -> Either<Self, B> where
B: Future<Output = Self::Output>,
B: Future<Output = Self::Output>,
pub fn right_future<A>(self) -> Either<A, Self> where
A: Future<Output = Self::Output>,
A: Future<Output = Self::Output>,
pub fn into_stream(self) -> IntoStream<Self>
pub fn flatten(self) -> Flatten<Self> where
Self::Output: Future,
Self::Output: Future,
pub fn flatten_stream(self) -> FlattenStream<Self> where
Self::Output: Stream,
Self::Output: Stream,
pub fn fuse(self) -> Fuse<Self>
pub fn inspect<F>(self, f: F) -> Inspect<Self, F> where
F: FnOnce(&Self::Output),
F: FnOnce(&Self::Output),
pub fn catch_unwind(self) -> CatchUnwind<Self> where
Self: UnwindSafe,
Self: UnwindSafe,
pub fn shared(self) -> Shared<Self> where
Self::Output: Clone,
Self::Output: Clone,
pub fn remote_handle(self) -> (Remote<Self>, RemoteHandle<Self::Output>)
pub fn boxed<'a>(
self
) -> Pin<Box<dyn Future<Output = Self::Output> + 'a + Send, Global>> where
Self: Send + 'a,
self
) -> Pin<Box<dyn Future<Output = Self::Output> + 'a + Send, Global>> where
Self: Send + 'a,
pub fn boxed_local<'a>(
self
) -> Pin<Box<dyn Future<Output = Self::Output> + 'a, Global>> where
Self: 'a,
self
) -> Pin<Box<dyn Future<Output = Self::Output> + 'a, Global>> where
Self: 'a,
pub fn unit_error(self) -> UnitError<Self>
pub fn never_error(self) -> NeverError<Self>
pub fn poll_unpin(&mut self, cx: &mut Context<'_>) -> Poll<Self::Output> where
Self: Unpin,
Self: Unpin,
pub fn now_or_never(self) -> Option<Self::Output>
impl<T> FutureExt for T where
T: Future + ?Sized,
T: Future + ?Sized,
impl<F> FutureExt for F where
F: Future + ?Sized,
F: Future + ?Sized,
pub fn poll(&mut self, cx: &mut Context<'_>) -> Poll<Self::Output> where
Self: Unpin,
Self: Unpin,
pub fn or<F>(self, other: F) -> Or<Self, F> where
F: Future<Output = Self::Output>,
F: Future<Output = Self::Output>,
pub fn race<F>(self, other: F) -> Race<Self, F> where
F: Future<Output = Self::Output>,
F: Future<Output = Self::Output>,
pub fn catch_unwind(self) -> CatchUnwind<Self> where
Self: UnwindSafe,
Self: UnwindSafe,
pub fn boxed<'a>(
self
) -> Pin<Box<dyn Future<Output = Self::Output> + 'a + Send, Global>> where
Self: Send + 'a,
self
) -> Pin<Box<dyn Future<Output = Self::Output> + 'a + Send, Global>> where
Self: Send + 'a,
pub fn boxed_local<'a>(
self
) -> Pin<Box<dyn Future<Output = Self::Output> + 'a, Global>> where
Self: 'a,
self
) -> Pin<Box<dyn Future<Output = Self::Output> + 'a, Global>> where
Self: 'a,
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<F> IntoFuture for F where
F: Future,
[src]
F: Future,
type Output = <F as Future>::Output
into_future
)The output that the future will produce on completion.
type Future = F
into_future
)Which kind of future are we turning this into?
pub fn into_future(self) -> <F as IntoFuture>::Future
[src]
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,