pub enum ScanResultIteratorRequest {
GetNext {
responder: ScanResultIteratorGetNextResponder,
},
}
Expand description
Iterator used to send back scan results to the caller. The corresponding channel will be closed after the scan is complete and results are returned or fails due to an error.
Variants§
GetNext
Allows caller to request the next set of scan results. After all scan results have been sent, the next call to GetNext will return an empty vector and the channel will be closed. If an error is encountered during the scan, the error will be returned and the channel will be closed. No scan results will be provided.
Fields
§
responder: ScanResultIteratorGetNextResponder
Implementations§
Source§impl ScanResultIteratorRequest
impl ScanResultIteratorRequest
pub fn into_get_next(self) -> Option<ScanResultIteratorGetNextResponder>
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 ScanResultIteratorRequest
impl !RefUnwindSafe for ScanResultIteratorRequest
impl Send for ScanResultIteratorRequest
impl Sync for ScanResultIteratorRequest
impl Unpin for ScanResultIteratorRequest
impl !UnwindSafe for ScanResultIteratorRequest
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