pub enum DevToolsListenerRequest {
OnContextDevToolsAvailable {
listener: ServerEnd<DevToolsPerContextListenerMarker>,
control_handle: DevToolsListenerControlHandle,
},
}
Expand description
Interface used to observe DevTools service availability events.
Variants§
OnContextDevToolsAvailable
Called when the DevTools service is available on a new [Context
].
listener
: Channel over which DevTools events for the new [Context
] will be delivered. This channel will disconnect when the [Context
] is destroyed.
Fields
§
listener: ServerEnd<DevToolsPerContextListenerMarker>
§
control_handle: DevToolsListenerControlHandle
Implementations§
Source§impl DevToolsListenerRequest
impl DevToolsListenerRequest
pub fn into_on_context_dev_tools_available( self, ) -> Option<(ServerEnd<DevToolsPerContextListenerMarker>, DevToolsListenerControlHandle)>
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 DevToolsListenerRequest
impl !RefUnwindSafe for DevToolsListenerRequest
impl Send for DevToolsListenerRequest
impl Sync for DevToolsListenerRequest
impl Unpin for DevToolsListenerRequest
impl !UnwindSafe for DevToolsListenerRequest
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