#[repr(C)]pub struct V8Inspector(/* private fields */);
Implementations§
Source§impl V8Inspector
impl V8Inspector
pub fn create<T>(
isolate: &mut Isolate,
client: &mut T,
) -> UniqueRef<V8Inspector>where
T: AsV8InspectorClient,
pub fn connect<T>(
&mut self,
context_group_id: i32,
channel: &mut T,
state: StringView<'_>,
) -> UniqueRef<V8InspectorSession>where
T: AsChannel,
Sourcepub fn context_created(
&mut self,
context: Local<'_, Context>,
context_group_id: i32,
human_readable_name: StringView<'_>,
)
pub fn context_created( &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§
Source§impl Debug for V8Inspector
impl Debug for V8Inspector
Auto Trait Implementations§
impl Freeze for V8Inspector
impl RefUnwindSafe for V8Inspector
impl Send for V8Inspector
impl Sync for V8Inspector
impl Unpin for V8Inspector
impl UnwindSafe for V8Inspector
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more