Struct deno_core::LocalInspectorSession
source · [−]pub struct LocalInspectorSession { /* private fields */ }
Expand description
A local inspector session that can be used to send and receive protocol messages directly on the same thread as an isolate.
Implementations
sourceimpl LocalInspectorSession
impl LocalInspectorSession
pub fn new(
v8_session_tx: UnboundedSender<String>,
v8_session_rx: UnboundedReceiver<InspectorMsg>
) -> Self
pub fn notifications(&mut self) -> Vec<Value>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
pub async fn post_message<T: Serialize>(
&mut self,
method: &str,
params: Option<T>
) -> Result<Value, Error>
Auto Trait Implementations
impl !RefUnwindSafe for LocalInspectorSession
impl Send for LocalInspectorSession
impl Sync for LocalInspectorSession
impl Unpin for LocalInspectorSession
impl !UnwindSafe for LocalInspectorSession
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