pub enum DeviceIteratorRequest {
GetNext {
responder: DeviceIteratorGetNextResponder,
},
}Expand description
Protocol for iterating over the initial set of active devices.
This iterator is returned upon registering a listener and is used to bootstrap the client’s state with the devices that are already present.
Variants§
GetNext
Returns the next batch of active devices.
Returns an empty vector when all existing devices have been iterated
through. The client should then close this channel and rely on the
DeviceListener for subsequent events.
Fields
§
responder: DeviceIteratorGetNextResponderImplementations§
Source§impl DeviceIteratorRequest
impl DeviceIteratorRequest
pub fn into_get_next(self) -> Option<DeviceIteratorGetNextResponder>
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 !RefUnwindSafe for DeviceIteratorRequest
impl !UnwindSafe for DeviceIteratorRequest
impl Freeze for DeviceIteratorRequest
impl Send for DeviceIteratorRequest
impl Sync for DeviceIteratorRequest
impl Unpin for DeviceIteratorRequest
impl UnsafeUnpin for DeviceIteratorRequest
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