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 View 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
].
sourcepub fn get_unreachability_config(
&self,
interface: u64,
ip_version: IpVersion
) -> QueryResponseFut<ViewGetUnreachabilityConfigResult>
pub fn get_unreachability_config( &self, interface: u64, ip_version: IpVersion ) -> QueryResponseFut<ViewGetUnreachabilityConfigResult>
View the current configurations of an interface.
- request
interface
interface to read configurations from. - request
ip_version
the IP version to read configurations from.
- response
config
a snapshot of the interface’s configuration.
- error
ZX_ERR_NOT_FOUND
ifinterface
does not exist.
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