pub enum DiagnosticsRequest {
IterateIp {
s: ServerEnd<IpIteratorMarker>,
extensions: Extensions,
matchers: Vec<IpSocketMatcher>,
responder: DiagnosticsIterateIpResponder,
},
GetDestructionWatcher {
watcher: ServerEnd<DestructionWatcherMarker>,
responder: DiagnosticsGetDestructionWatcherResponder,
},
}Expand description
Provides diagnostic information IP sockets.
Variants§
IterateIp
Populates an iterator over all IP sockets that match the provided matchers.
Unbound sockets are not returned.
Fields
§
extensions: Extensions§
matchers: Vec<IpSocketMatcher>§
responder: DiagnosticsIterateIpResponderGetDestructionWatcher
Creates a watcher for recently destroyed sockets.
The watcher is guaranteed to be registered by the time the call returns.
Fields
§
watcher: ServerEnd<DestructionWatcherMarker>§
responder: DiagnosticsGetDestructionWatcherResponderImplementations§
Source§impl DiagnosticsRequest
impl DiagnosticsRequest
pub fn into_iterate_ip( self, ) -> Option<(ServerEnd<IpIteratorMarker>, Extensions, Vec<IpSocketMatcher>, DiagnosticsIterateIpResponder)>
pub fn into_get_destruction_watcher( self, ) -> Option<(ServerEnd<DestructionWatcherMarker>, DiagnosticsGetDestructionWatcherResponder)>
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 DiagnosticsRequest
impl !RefUnwindSafe for DiagnosticsRequest
impl Send for DiagnosticsRequest
impl Sync for DiagnosticsRequest
impl Unpin for DiagnosticsRequest
impl UnsafeUnpin for DiagnosticsRequest
impl !UnwindSafe for DiagnosticsRequest
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