pub enum RouteTableProviderV6Request {
NewRouteTable {
provider: ServerEnd<RouteTableV6Marker>,
options: RouteTableOptionsV6,
control_handle: RouteTableProviderV6ControlHandle,
},
GetInterfaceLocalTable {
credential: ProofOfInterfaceAuthorization,
responder: RouteTableProviderV6GetInterfaceLocalTableResponder,
},
}
Expand description
This protocol allows the client to create route tables.
Variants§
NewRouteTable
Creates a new route table. If the client end of the provider
is
closed, the route table is removed (unless detached).
Fields
§
provider: ServerEnd<RouteTableV6Marker>
§
options: RouteTableOptionsV6
§
control_handle: RouteTableProviderV6ControlHandle
GetInterfaceLocalTable
Gets the interface-local route table for this interface.
- request credential of the interface to get local route table.
- response client end of the
RouteTableV6
protocol if successfully.
This table is only removed after the interface is removed AND all
outstanding RouteTableV6
channels are closed.
Calling detach on the route table is a no-op.
Fields
§
credential: ProofOfInterfaceAuthorization
Implementations§
Source§impl RouteTableProviderV6Request
impl RouteTableProviderV6Request
pub fn into_new_route_table( self, ) -> Option<(ServerEnd<RouteTableV6Marker>, RouteTableOptionsV6, RouteTableProviderV6ControlHandle)>
pub fn into_get_interface_local_table( self, ) -> Option<(ProofOfInterfaceAuthorization, RouteTableProviderV6GetInterfaceLocalTableResponder)>
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 Freeze for RouteTableProviderV6Request
impl !RefUnwindSafe for RouteTableProviderV6Request
impl Send for RouteTableProviderV6Request
impl Sync for RouteTableProviderV6Request
impl Unpin for RouteTableProviderV6Request
impl !UnwindSafe for RouteTableProviderV6Request
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