Struct fidl_fuchsia_net_neighbor::ViewProxy
source · pub struct ViewProxy { /* private fields */ }
Implementations§
source§impl ViewProxy
impl ViewProxy
sourcepub fn take_event_stream(&self) -> ViewEventStream
pub fn take_event_stream(&self) -> ViewEventStream
Get a Stream of events from the remote end of the protocol.
§Panics
Panics if the event stream was already taken.
sourcepub fn open_entry_iterator(
&self,
it: ServerEnd<EntryIteratorMarker>,
options: &EntryIteratorOptions,
) -> Result<(), Error>
pub fn open_entry_iterator( &self, it: ServerEnd<EntryIteratorMarker>, options: &EntryIteratorOptions, ) -> Result<(), Error>
Open a connection to an [EntryIterator
] for listing existing entries
and optionally watching for state changes.
- request
it
grants access to the [EntryIterator
]. - request
options
specifies the behavior of the [EntryIterator
].
Trait Implementations§
source§impl Proxy for ViewProxy
impl Proxy for ViewProxy
§type Protocol = ViewMarker
type Protocol = ViewMarker
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
§fn into_client_end(self) -> Result<ClientEnd<Self::Protocol>, Self>
fn into_client_end(self) -> Result<ClientEnd<Self::Protocol>, Self>
Attempt to convert the proxy back into a client end. Read more
source§impl ViewProxyInterface for ViewProxy
impl ViewProxyInterface for ViewProxy
fn open_entry_iterator( &self, it: ServerEnd<EntryIteratorMarker>, options: &EntryIteratorOptions, ) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for ViewProxy
impl !RefUnwindSafe for ViewProxy
impl Send for ViewProxy
impl Sync for ViewProxy
impl Unpin for ViewProxy
impl !UnwindSafe for ViewProxy
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)