pub enum RouteTableProviderV4Request {
NewRouteTable {
provider: ServerEnd<RouteTableV4Marker>,
options: RouteTableOptionsV4,
control_handle: RouteTableProviderV4ControlHandle,
},
GetInterfaceLocalTable {
credential: ProofOfInterfaceAuthorization,
responder: RouteTableProviderV4GetInterfaceLocalTableResponder,
},
}
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<RouteTableV4Marker>
§
options: RouteTableOptionsV4
§
control_handle: RouteTableProviderV4ControlHandle
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
RouteTableV4
protocol if successfully.
This table is only removed after the interface is removed AND all
outstanding RouteTableV4
channels are closed.
Calling detach on the route table is a no-op.
Fields
§
credential: ProofOfInterfaceAuthorization
Implementations§
Source§impl RouteTableProviderV4Request
impl RouteTableProviderV4Request
pub fn into_new_route_table( self, ) -> Option<(ServerEnd<RouteTableV4Marker>, RouteTableOptionsV4, RouteTableProviderV4ControlHandle)>
pub fn into_get_interface_local_table( self, ) -> Option<(ProofOfInterfaceAuthorization, RouteTableProviderV4GetInterfaceLocalTableResponder)>
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 RouteTableProviderV4Request
impl !RefUnwindSafe for RouteTableProviderV4Request
impl Send for RouteTableProviderV4Request
impl Sync for RouteTableProviderV4Request
impl Unpin for RouteTableProviderV4Request
impl !UnwindSafe for RouteTableProviderV4Request
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