pub struct InstanceIterator { /* private fields */ }
Expand description
Iterates over the instances returned by browse_host
Implementations§
Source§impl InstanceIterator
impl InstanceIterator
Sourcepub fn next(
&mut self,
) -> Result<Option<InstanceInfo>, BrowserError<Infallible, Infallible>>
pub fn next( &mut self, ) -> Result<Option<InstanceInfo>, BrowserError<Infallible, Infallible>>
Gets the next received instance information. You can call this method multiple times to receive information about multiple instances until it returns Ok(None).
Auto Trait Implementations§
impl Freeze for InstanceIterator
impl RefUnwindSafe for InstanceIterator
impl Send for InstanceIterator
impl Sync for InstanceIterator
impl Unpin for InstanceIterator
impl UnwindSafe for InstanceIterator
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