pub enum DevToolsPerContextListenerRequest {
OnHttpPortOpen {
port: u16,
control_handle: DevToolsPerContextListenerControlHandle,
},
}
Expand description
Interface supplied by the debugging component to observe the DevTools service opening event.
Variants§
OnHttpPortOpen
Called when the DevTools service starts accepting TCP connections on port
. port
will
remain open until the [Context
] is destroyed.
port
: The port used by the service.
Implementations§
Source§impl DevToolsPerContextListenerRequest
impl DevToolsPerContextListenerRequest
pub fn into_on_http_port_open( self, ) -> Option<(u16, DevToolsPerContextListenerControlHandle)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DevToolsPerContextListenerRequest
impl !RefUnwindSafe for DevToolsPerContextListenerRequest
impl Send for DevToolsPerContextListenerRequest
impl Sync for DevToolsPerContextListenerRequest
impl Unpin for DevToolsPerContextListenerRequest
impl !UnwindSafe for DevToolsPerContextListenerRequest
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