Enum fidl_fuchsia_web::DebugRequest
source · pub enum DebugRequest {
EnableDevTools {
listener: ClientEnd<DevToolsListenerMarker>,
responder: DebugEnableDevToolsResponder,
},
}
Expand description
The debug service which allows to enable the DevTools service on Contexts.
Variants§
EnableDevTools
Enables the DevTools service on every subsequent [Context
] creation and delivers
subsequent DevTools events to the supplied listener
. The callback indicates when the
WebEngine is in a debuggable state. Events will be sent to every listener
registered with
this method.
Because DevTools debugging is exposed using TCP as its transport, only
[Context
]s created with access to network capabilities will report
themselves as available for debugging.
Implementations§
source§impl DebugRequest
impl DebugRequest
pub fn into_enable_dev_tools( self, ) -> Option<(ClientEnd<DevToolsListenerMarker>, DebugEnableDevToolsResponder)>
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 DebugRequest
impl !RefUnwindSafe for DebugRequest
impl Send for DebugRequest
impl Sync for DebugRequest
impl Unpin for DebugRequest
impl !UnwindSafe for DebugRequest
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