pub enum ViewRequest {
OpenEntryIterator {
it: ServerEnd<EntryIteratorMarker>,
options: EntryIteratorOptions,
control_handle: ViewControlHandle,
},
GetUnreachabilityConfig {
interface: u64,
ip_version: IpVersion,
responder: ViewGetUnreachabilityConfigResponder,
},
}
Expand description
Inspect the neighbor table and related interface configuration.
Variants§
OpenEntryIterator
Fields
§
it: ServerEnd<EntryIteratorMarker>
§
options: EntryIteratorOptions
§
control_handle: ViewControlHandle
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
].
GetUnreachabilityConfig
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.
Implementations§
source§impl ViewRequest
impl ViewRequest
pub fn into_open_entry_iterator( self ) -> Option<(ServerEnd<EntryIteratorMarker>, EntryIteratorOptions, ViewControlHandle)>
pub fn into_get_unreachability_config( self ) -> Option<(u64, IpVersion, ViewGetUnreachabilityConfigResponder)>
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 !RefUnwindSafe for ViewRequest
impl Send for ViewRequest
impl Sync for ViewRequest
impl Unpin for ViewRequest
impl !UnwindSafe for ViewRequest
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