pub struct DeviceInfoIteratorProxy { /* private fields */ }
Implementations§
source§impl DeviceInfoIteratorProxy
impl DeviceInfoIteratorProxy
sourcepub fn new(channel: AsyncChannel) -> Self
pub fn new(channel: AsyncChannel) -> Self
Create a new Proxy for fuchsia.driver.development/DeviceInfoIterator.
sourcepub fn take_event_stream(&self) -> DeviceInfoIteratorEventStream
pub fn take_event_stream(&self) -> DeviceInfoIteratorEventStream
Get a Stream of events from the remote end of the protocol.
Panics
Panics if the event stream was already taken.
sourcepub fn get_next(&self) -> QueryResponseFut<Vec<DeviceInfo>>
pub fn get_next(&self) -> QueryResponseFut<Vec<DeviceInfo>>
Return empty when no more entries left.
Trait Implementations§
source§impl Clone for DeviceInfoIteratorProxy
impl Clone for DeviceInfoIteratorProxy
source§fn clone(&self) -> DeviceInfoIteratorProxy
fn clone(&self) -> DeviceInfoIteratorProxy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DeviceInfoIteratorProxy
impl Debug for DeviceInfoIteratorProxy
source§impl DeviceInfoIteratorProxyInterface for DeviceInfoIteratorProxy
impl DeviceInfoIteratorProxyInterface for DeviceInfoIteratorProxy
type GetNextResponseFut = QueryResponseFut<Vec<DeviceInfo>>
fn get_next(&self) -> Self::GetNextResponseFut
source§impl Proxy for DeviceInfoIteratorProxy
impl Proxy for DeviceInfoIteratorProxy
§type Protocol = DeviceInfoIteratorMarker
type Protocol = DeviceInfoIteratorMarker
The protocol which this
Proxy
controls.source§fn from_channel(inner: AsyncChannel) -> Self
fn from_channel(inner: AsyncChannel) -> Self
Create a proxy over the given channel.
source§fn into_channel(self) -> Result<AsyncChannel, Self>
fn into_channel(self) -> Result<AsyncChannel, Self>
Attempt to convert the proxy back into a channel. Read more
source§fn as_channel(&self) -> &AsyncChannel
fn as_channel(&self) -> &AsyncChannel
Get a reference to the proxy’s underlying channel. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for DeviceInfoIteratorProxy
impl Send for DeviceInfoIteratorProxy
impl Sync for DeviceInfoIteratorProxy
impl Unpin for DeviceInfoIteratorProxy
impl !UnwindSafe for DeviceInfoIteratorProxy
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