Struct v8::inspector::V8Inspector
source · [−]#[repr(C)]pub struct V8Inspector(_);
Implementations
sourceimpl 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<'_>,
client_trust_level: V8InspectorClientTrustLevel
) -> 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
sourceimpl Debug for V8Inspector
impl Debug for V8Inspector
Auto Trait Implementations
impl RefUnwindSafe for V8Inspector
impl Send for V8Inspector
impl Sync for V8Inspector
impl Unpin for V8Inspector
impl UnwindSafe for V8Inspector
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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