pub enum EntryIteratorRequest {
GetNext {
responder: EntryIteratorGetNextResponder,
},
}Expand description
Returns entries and events from the neighbor table. Clients can open an
iterator using the [fuchsia.net.neighbor/View.EntryIterator] method.
An atomic snapshot of the neighbor table is queued for clients upon opening
an EntryIterator. This snapshot consists of existing entries followed by
an IdleEvent. No other types of events will be sent before an
IdleEvent.
Variants§
GetNext
Take items from the iterator. If no items are available, block until one is; otherwise, return immediately with items queued since the last invocation.
This does not guarantee that, when blocking, only one item will be returned; implementations may debounce or batch events.
Clients should only have one call of this method at a time; a second call to this method while a call is already pending will cause the server end of the protocol to be closed.
- response
eventsa list of events that occurred since the last invocation of this method.
Fields
responder: EntryIteratorGetNextResponderImplementations§
Source§impl EntryIteratorRequest
impl EntryIteratorRequest
pub fn into_get_next(self) -> Option<EntryIteratorGetNextResponder>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL