pub enum IpIteratorRequest {
Next {
responder: IpIteratorNextResponder,
},
#[non_exhaustive]
_UnknownMethod {
ordinal: u64,
control_handle: IpIteratorControlHandle,
method_type: MethodType,
},
}
Expand description
Provides sockets as a response to a call to Diagnostics.IterateIp
.
Variants§
Next
Call repeatedly to stream results for a previous request to
Diagnostics.IterateIp
.
A caller must make sure to retrieve sockets in a timely manner, or the
connection may be closed with TIMED_OUT
.
NOTE: The returned sockets do not provide a consistent snapshot of the system. For example, you should never use the state of one socket to infer what the state of another socket will be, since modifications could have occurred in between results for each socket being materialized.
Fields
§
responder: IpIteratorNextResponder
_UnknownMethod
An interaction was received which does not match any known method.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
control_handle: IpIteratorControlHandle
§
method_type: MethodType
Implementations§
Source§impl IpIteratorRequest
impl IpIteratorRequest
pub fn into_next(self) -> Option<IpIteratorNextResponder>
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 IpIteratorRequest
impl !RefUnwindSafe for IpIteratorRequest
impl Send for IpIteratorRequest
impl Sync for IpIteratorRequest
impl Unpin for IpIteratorRequest
impl !UnwindSafe for IpIteratorRequest
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