Struct deno_runtime::inspector_server::InspectorInfo
source · pub struct InspectorInfo {
pub host: SocketAddr,
pub uuid: Uuid,
pub thread_name: Option<String>,
pub new_session_tx: UnboundedSender<InspectorSessionProxy>,
pub deregister_rx: Receiver<()>,
pub url: String,
pub wait_for_session: bool,
}
Expand description
Inspector information that is sent from the isolate thread to the server thread when a new inspector is created.
Fields§
§host: SocketAddr
§uuid: Uuid
§thread_name: Option<String>
§new_session_tx: UnboundedSender<InspectorSessionProxy>
§deregister_rx: Receiver<()>
§url: String
§wait_for_session: bool
Implementations§
source§impl InspectorInfo
impl InspectorInfo
pub fn new( host: SocketAddr, new_session_tx: UnboundedSender<InspectorSessionProxy>, deregister_rx: Receiver<()>, url: String, wait_for_session: bool ) -> Self
pub fn get_websocket_debugger_url(&self) -> String
Auto Trait Implementations§
impl !RefUnwindSafe for InspectorInfo
impl Send for InspectorInfo
impl Sync for InspectorInfo
impl Unpin for InspectorInfo
impl !UnwindSafe for InspectorInfo
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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